Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.005288/0.005288, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.001241/0.001241, allocations: 191 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00216/0.00216, allocations: 282.8 kB / 290.8 MB, free: 1.883 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.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 95.84 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1537, allocations: 86.97 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.3336/0.4874, allocations: 32.58 MB / 0.7982 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01645/0.5038, allocations: 10.27 MB / 0.8082 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.5065, allocations: 149.8 kB / 0.8084 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009258/0.5158, allocations: 3.723 MB / 0.812 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005393/0.5212, allocations: 1.949 MB / 0.8139 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005401/0.5266, allocations: 2.137 MB / 0.816 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008593/0.5352, allocations: 7.347 MB / 0.8232 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/0.5466, allocations: 9.41 MB / 0.8324 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005337/0.552, allocations: 3.222 MB / 0.8355 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005661/0.5577, allocations: 3.487 MB / 0.8389 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001573/0.5592, allocations: 0.6461 MB / 0.8396 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004151/0.5634, allocations: 1.773 MB / 0.8413 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002577/0.566, allocations: 2.543 MB / 0.8438 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004941/0.5709, allocations: 2.899 MB / 0.8466 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.5825, allocations: 10.1 MB / 0.8565 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.5825, allocations: 3.938 kB / 0.8565 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5825, allocations: 0 / 0.8565 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000242/0.5828, allocations: 0 / 0.8565 GB, free: 7.578 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009535/0.5923, allocations: 5.006 MB / 0.8614 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.5924, allocations: 12.03 kB / 0.8614 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004963/0.5974, allocations: 0.9473 MB / 0.8623 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005899/0.6033, allocations: 3.046 MB / 0.8653 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/0.6036, allocations: 353.7 kB / 0.8656 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008215/0.6044, allocations: 456.2 kB / 0.8661 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01236/0.6168, allocations: 7.675 MB / 0.8735 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/0.6169, allocations: 23.69 kB / 0.8736 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004453/0.6174, allocations: 200 kB / 0.8738 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003075/0.6177, allocations: 316.9 kB / 0.8741 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.6283, allocations: 5.706 MB / 0.8796 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03519/0.6635, allocations: 34.83 MB / 0.9136 GB, free: 9.316 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.6661, allocations: 2.152 MB / 0.9157 GB, free: 7.051 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.6676, allocations: 1.268 MB / 0.917 GB, free: 5.785 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.404e-05/0.6677, allocations: 17.25 kB / 0.917 GB, free: 5.77 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.6678, allocations: 43.88 kB / 0.917 GB, free: 5.719 MB / 0.67 GB Notification: Performance of pre-optimization done (n=133): time 4.649e-06/0.6678, allocations: 3.984 kB / 0.917 GB, free: 5.715 MB / 0.67 GB Notification: Performance of matching and sorting (n=136): time 0.0128/0.6806, allocations: 7.1 MB / 0.924 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.6807, allocations: 68.72 kB / 0.924 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.6825, allocations: 1.484 MB / 0.9255 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.6827, allocations: 49.7 kB / 0.9255 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.6838, allocations: 2.004 MB / 0.9275 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.6842, allocations: 485.1 kB / 0.928 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000484/0.6847, allocations: 351.1 kB / 0.9283 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.6848, allocations: 305.1 kB / 0.9286 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.686, allocations: 0.9135 MB / 0.9295 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.6877, allocations: 1.593 MB / 0.931 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/0.6909, allocations: 2.733 MB / 0.9337 GB, free: 3.652 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.6909, allocations: 8 kB / 0.9337 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005818/0.6967, allocations: 3.527 MB / 0.9372 GB, free: 72 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.6968, allocations: 20.06 kB / 0.9372 GB, free: 52 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.6968, allocations: 23.98 kB / 0.9372 GB, free: 28 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002525/0.6993, allocations: 0.8998 MB / 0.9381 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.7005, allocations: 347.4 kB / 0.9384 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02002/0.7205, allocations: 23.1 MB / 0.961 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.7219, allocations: 108 kB / 0.9611 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.7221, allocations: 80 kB / 0.9612 GB, free: 5.785 MB / 0.7169 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002403/0.7245, allocations: 1.616 MB / 0.9627 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.7248, allocations: 205.6 kB / 0.9629 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004915/0.7297, allocations: 2.986 MB / 0.9658 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.7297, allocations: 12 kB / 0.9659 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.7298, allocations: 15.98 kB / 0.9659 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.7298, allocations: 3.984 kB / 0.9659 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.7402, allocations: 7.344 MB / 0.973 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.988e-06/0.7402, allocations: 4 kB / 0.973 GB, free: 9.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007227/0.741, allocations: 184.3 kB / 0.9732 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002262/0.7432, allocations: 0.822 MB / 0.974 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.494e-05/0.7433, allocations: 28 kB / 0.9741 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0185/0.7618, allocations: 21.94 MB / 0.9955 GB, free: 0.6094 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.7619, allocations: 12.06 kB / 0.9955 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005065/0.7669, allocations: 3.021 MB / 0.9984 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007807/0.7677, allocations: 458.5 kB / 0.9989 GB, free: 13 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.7679, allocations: 35.92 kB / 0.9989 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007207/0.7687, allocations: 63.92 kB / 0.999 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003443/0.769, allocations: 132.7 kB / 0.9991 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.382e-05/0.7691, allocations: 36 kB / 0.9991 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001268/0.7704, allocations: 0.9795 MB / 1 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7704, allocations: 0 / 1 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002492/0.7729, allocations: 0.7891 MB / 1.001 GB, free: 10.94 MB / 0.7637 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002127/0.7731, allocations: 144.7 kB / 1.001 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005273/0.7784, allocations: 4.035 MB / 1.005 GB, free: 6.602 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.7784, allocations: 1 kB / 1.005 GB, free: 6.602 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003362/0.7818, allocations: 2.736 MB / 1.008 GB, free: 3.711 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.7844, allocations: 0.7355 MB / 1.008 GB, free: 3.012 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.7949, allocations: 7.082 MB / 1.015 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003009/0.798, allocations: 3.109 MB / 1.018 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001209/0.7992, allocations: 454 kB / 1.019 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.7995, allocations: 115.4 kB / 1.019 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of SimCode: time 2.024e-06/0.7995, allocations: 0 / 1.019 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of Templates: time 0.05685/0.8563, allocations: 36.29 MB / 1.054 GB, free: 4.285 MB / 0.8106 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)