Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 104 kB / 16.41 MB, free: 6.508 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.001209/0.001209, allocations: 192.3 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 284.2 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.9728/0.9728, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002861/0.002861, allocations: 103.8 kB / 0.6821 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5803/0.5831, allocations: 86.98 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04437/0.6276, allocations: 35.11 MB / 0.8014 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.6465, allocations: 9.937 MB / 0.8111 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003955/0.6505, allocations: 143.3 kB / 0.8112 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01051/0.661, allocations: 3.813 MB / 0.8149 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007963/0.669, allocations: 2.036 MB / 0.8169 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005876/0.6749, allocations: 1.946 MB / 0.8188 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01134/0.6863, allocations: 7.982 MB / 0.8266 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01502/0.7013, allocations: 9.51 MB / 0.8359 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007001/0.7083, allocations: 3.431 MB / 0.8393 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008124/0.7165, allocations: 3.738 MB / 0.8429 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002954/0.7195, allocations: 0.6758 MB / 0.8436 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004809/0.7243, allocations: 1.443 MB / 0.845 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004522/0.7289, allocations: 2.62 MB / 0.8475 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007212/0.7361, allocations: 3.104 MB / 0.8506 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01523/0.7514, allocations: 10.38 MB / 0.8607 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.7514, allocations: 0 / 0.8607 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7514, allocations: 0 / 0.8607 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.00039/0.7518, allocations: 0 / 0.8607 GB, free: 3.641 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01635/0.7682, allocations: 5.412 MB / 0.866 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.7682, allocations: 11.97 kB / 0.866 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006004/0.7743, allocations: 0.9626 MB / 0.8669 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008874/0.7832, allocations: 3.174 MB / 0.87 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003957/0.7836, allocations: 361.9 kB / 0.8704 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001869/0.7855, allocations: 472.2 kB / 0.8708 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01707/0.8025, allocations: 7.906 MB / 0.8786 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.8027, allocations: 15.88 kB / 0.8786 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005366/0.8032, allocations: 208 kB / 0.8788 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005171/0.8038, allocations: 365.1 kB / 0.8791 GB, free: 288 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01051/0.8143, allocations: 5.933 MB / 0.8849 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03446/0.8488, allocations: 35.96 MB / 0.92 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/0.8519, allocations: 2.135 MB / 0.9221 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.8536, allocations: 1.484 MB / 0.9236 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-05/0.8537, allocations: 13.31 kB / 0.9236 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.8537, allocations: 55.81 kB / 0.9236 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=157): time 3.216e-06/0.8537, allocations: 0 / 0.9236 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=160): time 0.01319/0.8669, allocations: 7.552 MB / 0.931 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.867, allocations: 68.72 kB / 0.9311 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.8695, allocations: 1.856 MB / 0.9329 GB, free: 5.641 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.8696, allocations: 61.69 kB / 0.9329 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.871, allocations: 2.119 MB / 0.935 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004953/0.8715, allocations: 0.5546 MB / 0.9356 GB, free: 2.867 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005996/0.8721, allocations: 399.7 kB / 0.9359 GB, free: 2.469 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.8723, allocations: 301.1 kB / 0.9362 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.8738, allocations: 1.066 MB / 0.9373 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.8758, allocations: 1.76 MB / 0.939 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/0.8794, allocations: 3.049 MB / 0.942 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.8794, allocations: 8 kB / 0.942 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006085/0.8855, allocations: 3.928 MB / 0.9458 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.8855, allocations: 16.97 kB / 0.9458 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/0.8856, allocations: 20 kB / 0.9458 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/0.8879, allocations: 0.9311 MB / 0.9467 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.8893, allocations: 431.2 kB / 0.9472 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4501/1.339, allocations: 22.75 MB / 0.9694 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/1.342, allocations: 121.5 kB / 0.9695 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/1.342, allocations: 98.97 kB / 0.9696 GB, free: 179.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003572/1.346, allocations: 1.646 MB / 0.9712 GB, free: 179.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005616/1.346, allocations: 255.6 kB / 0.9714 GB, free: 179.2 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005539/1.352, allocations: 3.266 MB / 0.9746 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/1.352, allocations: 9.953 kB / 0.9746 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.352, allocations: 0.8438 kB / 0.9746 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009475/1.353, allocations: 0.5269 MB / 0.9751 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002879/1.353, allocations: 26.95 kB / 0.9752 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/1.354, allocations: 91.56 kB / 0.9753 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003035/1.355, allocations: 142.2 kB / 0.9754 GB, free: 178.1 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006393/1.361, allocations: 3.399 MB / 0.9787 GB, free: 176.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003847/1.365, allocations: 3.663 MB / 0.9823 GB, free: 175.6 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001071/1.366, allocations: 1.089 MB / 0.9834 GB, free: 175.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001399/1.367, allocations: 1.222 MB / 0.9846 GB, free: 174.7 MB / 0.7325 GB Notification: Performance of Backend: time 4.61e-07/1.367, allocations: 3 kB / 0.9846 GB, free: 174.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006069/1.373, allocations: 4.001 MB / 0.9885 GB, free: 172.6 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01315/1.387, allocations: 8.509 MB / 0.9968 GB, free: 168.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.06895/1.456, allocations: 48.95 MB / 1.045 GB, free: 121.8 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)