Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007079/0.007079, allocations: 103.9 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 193.6 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002174, allocations: 290.5 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9379/0.9379, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 104.6 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.153, allocations: 86.97 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007116/0.1601, allocations: 6.072 MB / 0.7723 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3094/0.4695, allocations: 3.124 MB / 0.7754 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005706/0.4701, allocations: 31.53 kB / 0.7754 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.4723, allocations: 0.9343 MB / 0.7763 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008688/0.4732, allocations: 494.6 kB / 0.7768 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009144/0.4741, allocations: 485.1 kB / 0.7772 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009392/0.475, allocations: 1.101 MB / 0.7783 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.4758, allocations: 0.6423 MB / 0.7789 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004438/0.4763, allocations: 441.9 kB / 0.7794 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004549/0.4768, allocations: 470.7 kB / 0.7798 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.682e-05/0.4769, allocations: 57.91 kB / 0.7799 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006981/0.4776, allocations: 494 kB / 0.7803 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.4778, allocations: 291.1 kB / 0.7806 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.4781, allocations: 397.6 kB / 0.781 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009481/0.4791, allocations: 1.174 MB / 0.7821 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4791, allocations: 0 / 0.7821 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4791, allocations: 5.062 kB / 0.7822 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.4791, allocations: 0 / 0.7822 GB, free: 8.242 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001302/0.4804, allocations: 1.054 MB / 0.7832 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.4805, allocations: 10.06 kB / 0.7832 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/0.4819, allocations: 221.9 kB / 0.7834 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007833/0.4827, allocations: 0.5725 MB / 0.784 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.4828, allocations: 49.16 kB / 0.784 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.4829, allocations: 71.95 kB / 0.7841 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.4841, allocations: 1.036 MB / 0.7851 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.4841, allocations: 13.28 kB / 0.7851 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.888e-05/0.4842, allocations: 26.48 kB / 0.7851 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.73e-05/0.4843, allocations: 68.89 kB / 0.7852 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008917/0.4852, allocations: 0.6968 MB / 0.7859 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003686/0.4889, allocations: 5.727 MB / 0.7915 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007293/0.4896, allocations: 0.5986 MB / 0.7921 GB, free: 16.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007012/0.4903, allocations: 436.3 kB / 0.7925 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.4904, allocations: 4.766 kB / 0.7925 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.4904, allocations: 35.05 kB / 0.7925 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 1.442e-06/0.4904, allocations: 0 / 0.7925 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.003804/0.4942, allocations: 2.007 MB / 0.7945 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.4943, allocations: 58.59 kB / 0.7945 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/0.4947, allocations: 454.7 kB / 0.795 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.4947, allocations: 36.33 kB / 0.795 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.4949, allocations: 386.6 kB / 0.7954 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/0.495, allocations: 152.1 kB / 0.7955 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.4951, allocations: 113.2 kB / 0.7956 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4953, allocations: 363 kB / 0.796 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.4956, allocations: 249 kB / 0.7962 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.4961, allocations: 453.8 kB / 0.7966 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008531/0.4969, allocations: 0.7548 MB / 0.7974 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4969, allocations: 0 / 0.7974 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001762/0.4987, allocations: 1.041 MB / 0.7984 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4987, allocations: 8.219 kB / 0.7984 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.4988, allocations: 6.906 kB / 0.7984 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009856/0.4998, allocations: 319.9 kB / 0.7987 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.5001, allocations: 98.25 kB / 0.7988 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007601/0.5077, allocations: 7.468 MB / 0.8061 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.5081, allocations: 33.27 kB / 0.8061 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.455e-05/0.5081, allocations: 25.84 kB / 0.8061 GB, free: 6.656 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003437/0.5085, allocations: 244.8 kB / 0.8064 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.562e-05/0.5086, allocations: 61 kB / 0.8064 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.5103, allocations: 0.8954 MB / 0.8073 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5103, allocations: 4.375 kB / 0.8073 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5103, allocations: 3.406 kB / 0.8073 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.5103, allocations: 4.453 kB / 0.8073 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.5129, allocations: 1.693 MB / 0.809 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.513, allocations: 2.75 kB / 0.809 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.5131, allocations: 40.86 kB / 0.809 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009143/0.5141, allocations: 308.5 kB / 0.8093 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.5141, allocations: 8.312 kB / 0.8093 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007114/0.5212, allocations: 7.461 MB / 0.8166 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5212, allocations: 6.25 kB / 0.8166 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.5229, allocations: 0.9915 MB / 0.8176 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.5231, allocations: 179 kB / 0.8178 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/0.5232, allocations: 9.359 kB / 0.8178 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.5235, allocations: 22.31 kB / 0.8178 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5236, allocations: 48.72 kB / 0.8178 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.5236, allocations: 12.91 kB / 0.8178 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003339/0.524, allocations: 306.4 kB / 0.8181 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.524, allocations: 0 / 0.8181 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000735/0.5247, allocations: 194.1 kB / 0.8183 GB, free: 13.87 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001561/0.5249, allocations: 108.1 kB / 0.8184 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001803/0.5267, allocations: 1.188 MB / 0.8196 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5267, allocations: 0 / 0.8196 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.5279, allocations: 0.8594 MB / 0.8204 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009277/0.5288, allocations: 209.9 kB / 0.8206 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.5308, allocations: 1.235 MB / 0.8218 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/0.5314, allocations: 0.9873 MB / 0.8228 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000321/0.5317, allocations: 107.9 kB / 0.8229 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.5318, allocations: 34.8 kB / 0.8229 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.5318, allocations: 0 / 0.8229 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of Templates: time 0.02095/0.5528, allocations: 9.979 MB / 0.8327 GB, free: 6.699 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)