Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 114 kB / 16.42 MB, free: 6.402 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.001173/0.001173, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002229/0.002229, allocations: 292.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9772/0.9772, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 91.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4409, allocations: 86.99 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01263/0.4536, allocations: 10.89 MB / 0.7777 GB, free: 8.973 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01245/0.4661, allocations: 8.807 MB / 0.7863 GB, free: 140 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.4673, allocations: 55.69 kB / 0.7863 GB, free: 84 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004371/0.4717, allocations: 1.664 MB / 0.788 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004352/0.4761, allocations: 1.573 MB / 0.7895 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.4779, allocations: 0.6729 MB / 0.7902 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003154/0.481, allocations: 2.278 MB / 0.7924 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002165/0.4832, allocations: 1.372 MB / 0.7937 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.4849, allocations: 1.004 MB / 0.7947 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.4869, allocations: 1.027 MB / 0.7957 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005086/0.4874, allocations: 140 kB / 0.7958 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.4893, allocations: 0.7955 MB / 0.7966 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000769/0.4901, allocations: 0.5686 MB / 0.7972 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.4915, allocations: 0.8861 MB / 0.798 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003439/0.4949, allocations: 2.572 MB / 0.8006 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4949, allocations: 3.938 kB / 0.8006 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4949, allocations: 0 / 0.8006 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.239e-05/0.495, allocations: 0 / 0.8006 GB, free: 1.453 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.00403/0.4991, allocations: 2.026 MB / 0.8025 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4991, allocations: 12.03 kB / 0.8026 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.5104, allocations: 2.038 MB / 0.8045 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.5129, allocations: 1.216 MB / 0.8057 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.171e-05/0.513, allocations: 86.69 kB / 0.8058 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/0.5133, allocations: 116.1 kB / 0.8059 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005502/0.5188, allocations: 2.482 MB / 0.8083 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.251e-05/0.5188, allocations: 7.844 kB / 0.8084 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.519, allocations: 55.98 kB / 0.8084 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003628/0.5194, allocations: 130.1 kB / 0.8085 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007449/0.5268, allocations: 2.545 MB / 0.811 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01396/0.5408, allocations: 10.02 MB / 0.8208 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006486/0.5473, allocations: 1.963 MB / 0.8227 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002866/0.5502, allocations: 0.9738 MB / 0.8237 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/0.5503, allocations: 4.438 kB / 0.8237 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.5503, allocations: 42.98 kB / 0.8237 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 3.516e-06/0.5504, allocations: 0 / 0.8237 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.0328/0.5832, allocations: 8.718 MB / 0.8322 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.5832, allocations: 60.06 kB / 0.8323 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.5849, allocations: 1.101 MB / 0.8334 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.585, allocations: 45.7 kB / 0.8334 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005976/0.5856, allocations: 0.7341 MB / 0.8341 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.5859, allocations: 283.9 kB / 0.8344 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004069/0.5863, allocations: 198.4 kB / 0.8346 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5865, allocations: 345.9 kB / 0.8349 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00306/0.5895, allocations: 1.075 MB / 0.836 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003201/0.5927, allocations: 1.309 MB / 0.8372 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006309/0.5991, allocations: 2.386 MB / 0.8396 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5991, allocations: 0 / 0.8396 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009174/0.6083, allocations: 3.273 MB / 0.8428 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.6083, allocations: 11.98 kB / 0.8428 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.6083, allocations: 8 kB / 0.8428 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002834/0.6112, allocations: 0.7914 MB / 0.8436 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/0.6132, allocations: 415.3 kB / 0.844 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01686/0.6301, allocations: 15.91 MB / 0.8595 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/0.6326, allocations: 291.6 kB / 0.8598 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/0.6329, allocations: 55.95 kB / 0.8598 GB, free: 2.293 MB / 0.6231 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (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.0009117/0.6338, allocations: 395.8 kB / 0.8602 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.6342, allocations: 142.5 kB / 0.8603 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009271/0.6435, allocations: 3.206 MB / 0.8635 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.6435, allocations: 11.91 kB / 0.8635 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.6435, allocations: 3.984 kB / 0.8635 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000846/0.6444, allocations: 391.1 kB / 0.8639 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003507/0.6447, allocations: 19.94 kB / 0.8639 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/0.6468, allocations: 279.5 kB / 0.8641 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.647, allocations: 88.5 kB / 0.8642 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0109/0.6579, allocations: 3.453 MB / 0.8676 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009689/0.6676, allocations: 3.621 MB / 0.8711 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003006/0.6706, allocations: 1.129 MB / 0.8722 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001173/0.6718, allocations: 0.7327 MB / 0.8729 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of Backend: time 3.91e-07/0.6718, allocations: 0 / 0.8729 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007824/0.6797, allocations: 3.067 MB / 0.8759 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of SimCode: time 0.006286/0.686, allocations: 3.636 MB / 0.8795 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.06045/0.7464, allocations: 37.66 MB / 0.9163 GB, free: 8.645 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)