Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.909/1.909, allocations: 292.3 MB / 308.1 MB, free: 4.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001741/0.001741, allocations: 188.5 kB / 376.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.1 MB / 0.6354 GB, free: 9.816 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 103.5 kB / 0.748 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 59.91 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3784, allocations: 114.6 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008081/0.3865, allocations: 5.452 MB / 0.9876 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004325/0.3909, allocations: 2.647 MB / 0.9901 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003136/0.3912, allocations: 23.81 kB / 0.9902 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.3929, allocations: 0.6345 MB / 0.9908 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008803/0.3938, allocations: 382.1 kB / 0.9912 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008707/0.3947, allocations: 359.3 kB / 0.9915 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001166/0.3958, allocations: 1.256 MB / 0.9927 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006824/0.3965, allocations: 458.3 kB / 0.9932 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004/0.3969, allocations: 338.5 kB / 0.9935 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.3974, allocations: 406.5 kB / 0.9939 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.091e-05/0.3975, allocations: 36 kB / 0.9939 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007318/0.3982, allocations: 439.1 kB / 0.9943 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.3985, allocations: 231.2 kB / 0.9945 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003174/0.3988, allocations: 326.3 kB / 0.9949 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0009496/0.3998, allocations: 0.9694 MB / 0.9958 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3998, allocations: 0 / 0.9958 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3998, allocations: 0 / 0.9958 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.3998, allocations: 3.938 kB / 0.9958 GB, free: 12.45 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001703/0.4015, allocations: 0.9738 MB / 0.9968 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4016, allocations: 12.03 kB / 0.9968 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.4028, allocations: 191.9 kB / 0.997 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007584/0.4036, allocations: 490.4 kB / 0.9974 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.4037, allocations: 45.36 kB / 0.9975 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.4038, allocations: 52.55 kB / 0.9975 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.4049, allocations: 0.8356 MB / 0.9983 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.405, allocations: 0 / 0.9983 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/0.405, allocations: 31.97 kB / 0.9984 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001795/0.4052, allocations: 60.95 kB / 0.9984 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008496/0.4061, allocations: 0.5735 MB / 0.999 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004507/0.4106, allocations: 4.577 MB / 1.003 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.4111, allocations: 291.3 kB / 1.004 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.4114, allocations: 229.2 kB / 1.004 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.4114, allocations: 12.22 kB / 1.004 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.4115, allocations: 34.84 kB / 1.004 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.4115, allocations: 3.938 kB / 1.004 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.00551/0.417, allocations: 2.634 MB / 1.007 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.4171, allocations: 55.41 kB / 1.007 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000473/0.4175, allocations: 453.9 kB / 1.007 GB, free: 252 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.4176, allocations: 41.64 kB / 1.007 GB, free: 204 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.4178, allocations: 343.6 kB / 1.007 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.4179, allocations: 138 kB / 1.008 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.4181, allocations: 102.2 kB / 1.008 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4183, allocations: 362.8 kB / 1.008 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.4186, allocations: 237 kB / 1.008 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.4191, allocations: 410.3 kB / 1.009 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008193/0.4199, allocations: 0.6778 MB / 1.009 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4199, allocations: 8 kB / 1.009 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001742/0.4217, allocations: 0.9168 MB / 1.01 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.4217, allocations: 4 kB / 1.01 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.4217, allocations: 8.656 kB / 1.01 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.4228, allocations: 226.4 kB / 1.01 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006917/0.4235, allocations: 115.8 kB / 1.011 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006395/0.4299, allocations: 4.939 MB / 1.015 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/0.4307, allocations: 31.97 kB / 1.015 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/0.4308, allocations: 24 kB / 1.015 GB, free: 7.098 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004359/0.4312, allocations: 233.6 kB / 1.016 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.4314, allocations: 59.33 kB / 1.016 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.4334, allocations: 0.7664 MB / 1.016 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.4334, allocations: 4 kB / 1.016 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.4334, allocations: 7.984 kB / 1.016 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.4334, allocations: 0 / 1.016 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/0.4367, allocations: 1.502 MB / 1.018 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.4368, allocations: 8.031 kB / 1.018 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/0.4373, allocations: 71.88 kB / 1.018 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008897/0.4382, allocations: 206.3 kB / 1.018 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.4382, allocations: 12 kB / 1.018 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5907/1.029, allocations: 4.865 MB / 1.023 GB, free: 96.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.029, allocations: 4.594 kB / 1.023 GB, free: 96.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004018/1.033, allocations: 2.937 MB / 1.026 GB, free: 95.55 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/1.033, allocations: 167.6 kB / 1.026 GB, free: 95.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.914e-05/1.033, allocations: 14.61 kB / 1.026 GB, free: 95.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/1.034, allocations: 26.83 kB / 1.026 GB, free: 95.46 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/1.034, allocations: 36.91 kB / 1.026 GB, free: 95.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/1.034, allocations: 13.72 kB / 1.026 GB, free: 95.46 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002973/1.034, allocations: 311.8 kB / 1.026 GB, free: 95.37 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/1.034, allocations: 3.25 kB / 1.026 GB, free: 95.37 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007727/1.035, allocations: 205.2 kB / 1.027 GB, free: 95.37 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001552/1.035, allocations: 115.5 kB / 1.027 GB, free: 95.28 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001486/1.037, allocations: 1 MB / 1.028 GB, free: 94.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/1.037, allocations: 2.156 kB / 1.028 GB, free: 94.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008604/1.037, allocations: 0.6866 MB / 1.028 GB, free: 94.61 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008727/1.038, allocations: 166 kB / 1.028 GB, free: 94.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/1.041, allocations: 1.764 MB / 1.03 GB, free: 93.72 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/1.041, allocations: 0.9651 MB / 1.031 GB, free: 93.01 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003942/1.041, allocations: 113.9 kB / 1.031 GB, free: 92.99 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/1.042, allocations: 41.55 kB / 1.031 GB, free: 92.99 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/1.042, allocations: 0 / 1.031 GB, free: 92.99 MB / 0.7448 GB Notification: Performance of Templates: time 0.02165/1.063, allocations: 9.053 MB / 1.04 GB, free: 92.64 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)