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.001373/0.001373, allocations: 113.5 kB / 16.42 MB, free: 6.441 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.001528/0.001528, allocations: 192 kB / 17.35 MB, free: 5.738 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.358/1.358, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.00215, allocations: 289.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9333/0.9333, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 99.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.481, allocations: 86.97 MB / 0.7671 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008563/0.4896, allocations: 6.079 MB / 0.773 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005209/0.4948, allocations: 3.129 MB / 0.776 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005922/0.4954, allocations: 27.81 kB / 0.7761 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.4979, allocations: 0.9441 MB / 0.777 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.4992, allocations: 477.5 kB / 0.7775 GB, free: 9.285 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.5004, allocations: 484.6 kB / 0.7779 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001526/0.502, allocations: 1.092 MB / 0.779 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000996/0.503, allocations: 0.6346 MB / 0.7796 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007127/0.5037, allocations: 446.4 kB / 0.78 GB, free: 6.645 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007013/0.5044, allocations: 474.2 kB / 0.7805 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.5046, allocations: 56 kB / 0.7805 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008728/0.5054, allocations: 483 kB / 0.781 GB, free: 5.652 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.5057, allocations: 295.2 kB / 0.7813 GB, free: 5.363 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004891/0.5062, allocations: 401.9 kB / 0.7817 GB, free: 4.969 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.5077, allocations: 1.171 MB / 0.7828 GB, free: 3.797 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5077, allocations: 0 / 0.7828 GB, free: 3.797 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5078, allocations: 0 / 0.7828 GB, free: 3.797 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.016e-05/0.5078, allocations: 0 / 0.7828 GB, free: 3.797 MB / 0.545 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.001963/0.5098, allocations: 1.06 MB / 0.7838 GB, free: 2.684 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.5098, allocations: 12.03 kB / 0.7838 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.5114, allocations: 215.7 kB / 0.7841 GB, free: 2.461 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009286/0.5124, allocations: 0.5843 MB / 0.7846 GB, free: 1.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.5124, allocations: 49.67 kB / 0.7847 GB, free: 1.793 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.5126, allocations: 68.34 kB / 0.7847 GB, free: 1.727 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.514, allocations: 1.026 MB / 0.7857 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.896e-05/0.514, allocations: 11.84 kB / 0.7857 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/0.5141, allocations: 27.98 kB / 0.7858 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.493e-05/0.5142, allocations: 73.27 kB / 0.7858 GB, free: 496 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.5153, allocations: 0.6918 MB / 0.7865 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004945/0.5202, allocations: 5.733 MB / 0.7921 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008673/0.5211, allocations: 0.6042 MB / 0.7927 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/0.5219, allocations: 428.6 kB / 0.7931 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.5219, allocations: 4 kB / 0.7931 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.522, allocations: 42.56 kB / 0.7932 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 1.673e-06/0.522, allocations: 0 / 0.7932 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004092/0.5261, allocations: 2.011 MB / 0.7951 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.5261, allocations: 59.34 kB / 0.7952 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.5265, allocations: 458.6 kB / 0.7956 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.5266, allocations: 33.7 kB / 0.7957 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.5268, allocations: 379.1 kB / 0.796 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.5269, allocations: 157.8 kB / 0.7962 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.5271, allocations: 110.2 kB / 0.7963 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5272, allocations: 362.8 kB / 0.7966 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.5276, allocations: 237.2 kB / 0.7968 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.5281, allocations: 465 kB / 0.7973 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008906/0.529, allocations: 0.737 MB / 0.798 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.529, allocations: 8 kB / 0.798 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001772/0.5308, allocations: 1.038 MB / 0.799 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5308, allocations: 8 kB / 0.799 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.5308, allocations: 8 kB / 0.799 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009397/0.5317, allocations: 327.2 kB / 0.7994 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.5321, allocations: 95.83 kB / 0.7994 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006811/0.5389, allocations: 7.474 MB / 0.8067 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.5393, allocations: 35.95 kB / 0.8068 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.5393, allocations: 24 kB / 0.8068 GB, free: 9.605 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.0002938/0.5396, allocations: 245.6 kB / 0.807 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-05/0.5397, allocations: 55.34 kB / 0.8071 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.5414, allocations: 0.8925 MB / 0.808 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5414, allocations: 4 kB / 0.808 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5414, allocations: 0 / 0.808 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.5416, allocations: 172.3 kB / 0.8081 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.966e-05/0.5417, allocations: 8 kB / 0.8081 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.542, allocations: 32.19 kB / 0.8082 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/0.5421, allocations: 39.92 kB / 0.8082 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001927/0.544, allocations: 0.9445 MB / 0.8091 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001176/0.5452, allocations: 0.9823 MB / 0.8101 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003176/0.5455, allocations: 247.8 kB / 0.8103 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003043/0.5459, allocations: 298.9 kB / 0.8106 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of Backend: time 5.71e-07/0.5459, allocations: 0 / 0.8106 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002409/0.5483, allocations: 1.303 MB / 0.8119 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00255/0.5508, allocations: 1.873 MB / 0.8137 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of Templates: time 0.01911/0.57, allocations: 12.01 MB / 0.8254 GB, free: 6.445 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)