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.001391/0.001391, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001563/0.001563, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002197/0.002197, allocations: 282 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9581/0.9581, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 99.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4523, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03897/0.4913, allocations: 35.12 MB / 0.8014 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01713/0.5085, allocations: 9.937 MB / 0.8111 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003229/0.5117, allocations: 147.2 kB / 0.8112 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009884/0.5216, allocations: 3.807 MB / 0.8149 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006244/0.5279, allocations: 2.142 MB / 0.817 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005449/0.5334, allocations: 1.959 MB / 0.8189 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01098/0.5444, allocations: 7.986 MB / 0.8267 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01424/0.5586, allocations: 9.526 MB / 0.836 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005959/0.5646, allocations: 3.416 MB / 0.8394 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006419/0.5711, allocations: 3.75 MB / 0.843 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002218/0.5733, allocations: 0.6796 MB / 0.8437 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004043/0.5774, allocations: 1.432 MB / 0.8451 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004208/0.5816, allocations: 2.627 MB / 0.8477 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006387/0.588, allocations: 3.104 MB / 0.8507 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.6018, allocations: 10.38 MB / 0.8608 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.6019, allocations: 0 / 0.8608 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6019, allocations: 0 / 0.8608 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003568/0.6022, allocations: 4 kB / 0.8608 GB, free: 3.559 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.01509/0.6173, allocations: 5.412 MB / 0.8661 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.6174, allocations: 8.031 kB / 0.8661 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00565/0.6231, allocations: 0.9587 MB / 0.8671 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006209/0.6293, allocations: 3.178 MB / 0.8702 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.6296, allocations: 357.9 kB / 0.8705 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/0.6309, allocations: 472.2 kB / 0.8709 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/0.6458, allocations: 7.902 MB / 0.8787 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.646, allocations: 15.88 kB / 0.8787 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006096/0.6466, allocations: 212 kB / 0.8789 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005175/0.6471, allocations: 373.1 kB / 0.8792 GB, free: 204 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/0.6589, allocations: 5.937 MB / 0.885 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0417/0.7006, allocations: 35.95 MB / 0.9201 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003332/0.704, allocations: 2.142 MB / 0.9222 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/0.706, allocations: 1.492 MB / 0.9237 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.407e-05/0.7061, allocations: 13.31 kB / 0.9237 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.7061, allocations: 55.81 kB / 0.9238 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=157): time 3.457e-06/0.7061, allocations: 8 kB / 0.9238 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of matching and sorting (n=160): time 0.0138/0.7199, allocations: 7.536 MB / 0.9311 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.72, allocations: 72.72 kB / 0.9312 GB, free: 7.441 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.7231, allocations: 1.856 MB / 0.933 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000172/0.7233, allocations: 57.7 kB / 0.9331 GB, free: 5.496 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001418/0.7247, allocations: 2.115 MB / 0.9351 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005309/0.7253, allocations: 0.5624 MB / 0.9357 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000691/0.726, allocations: 403.7 kB / 0.9361 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.7261, allocations: 305.1 kB / 0.9364 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.7277, allocations: 1.058 MB / 0.9374 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.7299, allocations: 1.76 MB / 0.9391 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003935/0.7338, allocations: 3.049 MB / 0.9421 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.189e-05/0.7339, allocations: 8 kB / 0.9421 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006577/0.7404, allocations: 3.921 MB / 0.9459 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.7405, allocations: 20.03 kB / 0.9459 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/0.7405, allocations: 20 kB / 0.946 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/0.7431, allocations: 0.9272 MB / 0.9469 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.7448, allocations: 439.2 kB / 0.9473 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4122/1.157, allocations: 22.74 MB / 0.9695 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/1.159, allocations: 128 kB / 0.9696 GB, free: 179.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/1.16, allocations: 93.12 kB / 0.9697 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.003386/1.163, allocations: 1.653 MB / 0.9713 GB, free: 179.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005434/1.163, allocations: 253.9 kB / 0.9716 GB, free: 179.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006356/1.17, allocations: 3.269 MB / 0.9747 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.17, allocations: 15.81 kB / 0.9748 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/1.17, allocations: 8.484 kB / 0.9748 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/1.17, allocations: 7.266 kB / 0.9748 GB, free: 178.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/1.181, allocations: 7.556 MB / 0.9822 GB, free: 175.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.181, allocations: 7.188 kB / 0.9822 GB, free: 175.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008627/1.182, allocations: 219 kB / 0.9824 GB, free: 175.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002027/1.184, allocations: 0.896 MB / 0.9832 GB, free: 175.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/1.184, allocations: 31.78 kB / 0.9833 GB, free: 175 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01872/1.203, allocations: 22.72 MB / 1.005 GB, free: 155.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/1.203, allocations: 13.83 kB / 1.005 GB, free: 155.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007571/1.21, allocations: 3.373 MB / 1.009 GB, free: 154.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001794/1.212, allocations: 0.536 MB / 1.009 GB, free: 154.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006237/1.213, allocations: 33.48 kB / 1.009 GB, free: 154.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/1.215, allocations: 94.45 kB / 1.009 GB, free: 154.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005378/1.215, allocations: 141.6 kB / 1.01 GB, free: 154 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/1.215, allocations: 46.22 kB / 1.01 GB, free: 154 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002516/1.218, allocations: 1.228 MB / 1.011 GB, free: 153.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.41e-07/1.218, allocations: 0 / 1.011 GB, free: 153.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005224/1.223, allocations: 0.9055 MB / 1.012 GB, free: 153.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003909/1.224, allocations: 154.4 kB / 1.012 GB, free: 153 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009776/1.233, allocations: 4.435 MB / 1.016 GB, free: 148.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/1.233, allocations: 8.188 kB / 1.016 GB, free: 148.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006386/1.24, allocations: 2.985 MB / 1.019 GB, free: 145.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007135/1.247, allocations: 0.8239 MB / 1.02 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02138/1.268, allocations: 8.226 MB / 1.028 GB, free: 136.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004857/1.273, allocations: 3.278 MB / 1.031 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/1.274, allocations: 159.4 kB / 1.031 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/1.274, allocations: 0 / 1.031 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.7037/1.978, allocations: 339.9 MB / 1.363 GB, free: 257.9 MB / 0.8731 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)