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.001361/0.001361, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001311/0.001311, allocations: 195.8 kB / 16.26 MB, free: 6.629 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.458/1.458, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00254/0.00254, allocations: 282.6 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.234/1.234, allocations: 178.6 MB / 0.5069 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002783/0.002783, allocations: 100.3 kB / 0.6059 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1691, allocations: 89.16 MB / 0.693 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03977/0.2089, allocations: 32.3 MB / 0.7245 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.2265, allocations: 10.17 MB / 0.7345 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.229, allocations: 135.2 kB / 0.7346 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009201/0.2382, allocations: 3.506 MB / 0.738 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004763/0.243, allocations: 1.704 MB / 0.7397 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00505/0.2481, allocations: 1.937 MB / 0.7416 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009/0.2571, allocations: 7.337 MB / 0.7487 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3034/0.5605, allocations: 11.61 MB / 0.7601 GB, free: 22.46 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005472/0.5661, allocations: 3.215 MB / 0.7632 GB, free: 22.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006259/0.5723, allocations: 3.662 MB / 0.7668 GB, free: 22.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001886/0.5743, allocations: 0.6453 MB / 0.7674 GB, free: 22.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004189/0.5785, allocations: 1.768 MB / 0.7691 GB, free: 22.01 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002835/0.5813, allocations: 2.543 MB / 0.7716 GB, free: 21.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003201/0.5845, allocations: 2.895 MB / 0.7745 GB, free: 21.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.5949, allocations: 10.15 MB / 0.7844 GB, free: 20.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5949, allocations: 0.9688 kB / 0.7844 GB, free: 20.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5949, allocations: 0 / 0.7844 GB, free: 20.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002458/0.5952, allocations: 0 / 0.7844 GB, free: 20.27 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0115/0.6067, allocations: 4.994 MB / 0.7892 GB, free: 18.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6067, allocations: 9.312 kB / 0.7893 GB, free: 18.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005553/0.6123, allocations: 0.9538 MB / 0.7902 GB, free: 18.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004822/0.6171, allocations: 2.863 MB / 0.793 GB, free: 17.33 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002794/0.6174, allocations: 348.4 kB / 0.7933 GB, free: 17.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007938/0.6182, allocations: 464.1 kB / 0.7938 GB, free: 17.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.6307, allocations: 7.668 MB / 0.8012 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001128/0.6308, allocations: 34.5 kB / 0.8013 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004682/0.6313, allocations: 201 kB / 0.8015 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003058/0.6316, allocations: 311 kB / 0.8018 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007661/0.6392, allocations: 5.713 MB / 0.8073 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03102/0.6703, allocations: 35.09 MB / 0.8416 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/0.6729, allocations: 2.157 MB / 0.8437 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.6744, allocations: 1.27 MB / 0.845 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.019e-05/0.6745, allocations: 16.06 kB / 0.845 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.6746, allocations: 46.22 kB / 0.845 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=133): time 2.945e-06/0.6746, allocations: 0 / 0.845 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.01357/0.6881, allocations: 7.087 MB / 0.8519 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.6882, allocations: 68.72 kB / 0.852 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.6902, allocations: 1.484 MB / 0.8535 GB, free: 472 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.884e-05/0.6903, allocations: 49.7 kB / 0.8535 GB, free: 416 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001472/0.6918, allocations: 2.003 MB / 0.8555 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004349/0.6923, allocations: 484 kB / 0.8559 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005598/0.6928, allocations: 351.1 kB / 0.8563 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.693, allocations: 305.1 kB / 0.8565 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.6943, allocations: 0.9096 MB / 0.8574 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/0.6963, allocations: 1.594 MB / 0.859 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003492/0.6998, allocations: 2.735 MB / 0.8617 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.6998, allocations: 8 kB / 0.8617 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006107/0.7059, allocations: 3.533 MB / 0.8651 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.7059, allocations: 12 kB / 0.8651 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/0.706, allocations: 24.91 kB / 0.8652 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002653/0.7086, allocations: 0.9163 MB / 0.866 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.7098, allocations: 348.4 kB / 0.8664 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0235/0.7333, allocations: 23.12 MB / 0.889 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.7352, allocations: 99.95 kB / 0.8891 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.7353, allocations: 88 kB / 0.8891 GB, free: 9.949 MB / 0.6231 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.00365/0.739, allocations: 1.616 MB / 0.8907 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004587/0.7395, allocations: 209.5 kB / 0.8909 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005605/0.7451, allocations: 2.984 MB / 0.8938 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.7451, allocations: 16 kB / 0.8938 GB, free: 5.129 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.7451, allocations: 12 kB / 0.8939 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.7452, allocations: 7.969 kB / 0.8939 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/0.7582, allocations: 7.348 MB / 0.901 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.7583, allocations: 8 kB / 0.901 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008004/0.7591, allocations: 175 kB / 0.9012 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002527/0.7616, allocations: 0.8293 MB / 0.902 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.7617, allocations: 32 kB / 0.9021 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02186/0.7836, allocations: 21.95 MB / 0.9235 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.7836, allocations: 4 kB / 0.9235 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005643/0.7893, allocations: 3.022 MB / 0.9264 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009938/0.7903, allocations: 458.5 kB / 0.9269 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/0.7906, allocations: 31.92 kB / 0.9269 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008007/0.7914, allocations: 67.92 kB / 0.927 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003622/0.7917, allocations: 128.5 kB / 0.9271 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.59e-05/0.7918, allocations: 36 kB / 0.9271 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001439/0.7933, allocations: 0.9834 MB / 0.9281 GB, free: 196 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7933, allocations: 0 / 0.9281 GB, free: 196 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00291/0.7962, allocations: 0.7891 MB / 0.9289 GB, free: 15.4 MB / 0.67 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.0002555/0.7965, allocations: 144.4 kB / 0.929 GB, free: 15.26 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00734/0.8038, allocations: 4.647 MB / 0.9335 GB, free: 10.55 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.8038, allocations: 0 / 0.9335 GB, free: 10.55 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003865/0.8077, allocations: 2.736 MB / 0.9362 GB, free: 7.688 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/0.811, allocations: 0.729 MB / 0.9369 GB, free: 7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01458/0.8256, allocations: 9.164 MB / 0.9459 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004076/0.8297, allocations: 3.109 MB / 0.9489 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001941/0.8317, allocations: 457.9 kB / 0.9493 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/0.832, allocations: 115.4 kB / 0.9495 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of SimCode: time 1.132e-06/0.832, allocations: 0 / 0.9495 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.06766/0.8997, allocations: 36.03 MB / 0.9846 GB, free: 6.637 MB / 0.7169 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)