Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001918/0.001918, 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.002154/0.002154, allocations: 192.3 kB / 16.25 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.474/1.474, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002702/0.002702, allocations: 286.7 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 178.6 MB / 0.507 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002832/0.002832, allocations: 104.7 kB / 0.6059 GB, free: 25.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1631, allocations: 89.14 MB / 0.693 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01763/0.1807, allocations: 13.96 MB / 0.7066 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01457/0.1954, allocations: 9.301 MB / 0.7157 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.1967, allocations: 51.62 kB / 0.7158 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004226/0.201, allocations: 1.571 MB / 0.7173 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004262/0.2053, allocations: 1.413 MB / 0.7187 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.207, allocations: 0.6894 MB / 0.7193 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003183/0.2102, allocations: 2.52 MB / 0.7218 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/0.2124, allocations: 1.578 MB / 0.7233 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.2139, allocations: 1.063 MB / 0.7244 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.2155, allocations: 1.179 MB / 0.7255 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.2157, allocations: 164 kB / 0.7257 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001582/0.2173, allocations: 0.7954 MB / 0.7265 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006482/0.218, allocations: 0.6154 MB / 0.7271 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.219, allocations: 0.9445 MB / 0.728 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003054/0.222, allocations: 2.78 MB / 0.7307 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2221, allocations: 0 / 0.7307 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2221, allocations: 0 / 0.7307 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.749e-05/0.2221, allocations: 0 / 0.7307 GB, free: 13.95 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003873/0.226, allocations: 2.135 MB / 0.7328 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.226, allocations: 12.03 kB / 0.7328 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/0.238, allocations: 2.085 MB / 0.7348 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.2405, allocations: 1.201 MB / 0.736 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.49e-05/0.2406, allocations: 90.67 kB / 0.7361 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/0.2408, allocations: 120.1 kB / 0.7362 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006057/0.2469, allocations: 2.678 MB / 0.7388 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.313e-05/0.247, allocations: 11.94 kB / 0.7388 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/0.2471, allocations: 47.98 kB / 0.7389 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006547/0.2478, allocations: 182.1 kB / 0.7391 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007872/0.2557, allocations: 2.799 MB / 0.7418 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0156/0.2713, allocations: 10.51 MB / 0.7521 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007199/0.2785, allocations: 2.536 MB / 0.7545 GB, free: 4.621 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003278/0.2818, allocations: 1.284 MB / 0.7558 GB, free: 3.332 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.535e-05/0.2819, allocations: 13 kB / 0.7558 GB, free: 3.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.282, allocations: 47.5 kB / 0.7558 GB, free: 3.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=89): time 2.875e-06/0.282, allocations: 0 / 0.7558 GB, free: 3.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=131): time 0.336/0.618, allocations: 13.34 MB / 0.7689 GB, free: 63.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.6181, allocations: 66.17 kB / 0.7689 GB, free: 63.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/0.6205, allocations: 1.13 MB / 0.77 GB, free: 63.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003152/0.6208, allocations: 48.55 kB / 0.7701 GB, free: 63.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006316/0.6215, allocations: 0.7112 MB / 0.7708 GB, free: 62.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005002/0.622, allocations: 451.4 kB / 0.7712 GB, free: 62.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005708/0.6226, allocations: 262.6 kB / 0.7715 GB, free: 62.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6227, allocations: 356.6 kB / 0.7718 GB, free: 62.06 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003497/0.6262, allocations: 1.341 MB / 0.7731 GB, free: 61.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003472/0.6297, allocations: 1.607 MB / 0.7747 GB, free: 61.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00636/0.6361, allocations: 2.987 MB / 0.7776 GB, free: 59.83 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.6361, allocations: 1.188 kB / 0.7776 GB, free: 59.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01083/0.6469, allocations: 4.448 MB / 0.7819 GB, free: 58.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.647, allocations: 9.469 kB / 0.7819 GB, free: 58.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.647, allocations: 6.469 kB / 0.7819 GB, free: 58.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005089/0.6521, allocations: 1.446 MB / 0.7834 GB, free: 57.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/0.654, allocations: 436.5 kB / 0.7838 GB, free: 57.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/0.6756, allocations: 26.7 MB / 0.8098 GB, free: 33.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002602/0.6782, allocations: 300 kB / 0.8101 GB, free: 33.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.6784, allocations: 65.02 kB / 0.8102 GB, free: 33.2 MB / 0.545 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000825/0.6792, allocations: 435.7 kB / 0.8106 GB, free: 32.89 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.6795, allocations: 163.5 kB / 0.8108 GB, free: 32.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/0.6896, allocations: 4.46 MB / 0.8151 GB, free: 30.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.6896, allocations: 14.84 kB / 0.8151 GB, free: 30.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.6896, allocations: 11.09 kB / 0.8151 GB, free: 30.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.6896, allocations: 7.969 kB / 0.8152 GB, free: 30.19 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.7024, allocations: 6.768 MB / 0.8218 GB, free: 25.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/0.7025, allocations: 0 / 0.8218 GB, free: 25.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/0.7041, allocations: 387.3 kB / 0.8221 GB, free: 24.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00402/0.7081, allocations: 1.315 MB / 0.8234 GB, free: 23.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.7082, allocations: 35.97 kB / 0.8235 GB, free: 23.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01941/0.7276, allocations: 25.52 MB / 0.8484 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.7277, allocations: 10.67 kB / 0.8484 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/0.7389, allocations: 4.201 MB / 0.8525 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.7399, allocations: 451 kB / 0.8529 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.7402, allocations: 24 kB / 0.8529 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/0.7422, allocations: 307.5 kB / 0.8532 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004602/0.7426, allocations: 128.7 kB / 0.8534 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.7428, allocations: 47.97 kB / 0.8534 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001121/0.7439, allocations: 0.7565 MB / 0.8541 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7439, allocations: 0 / 0.8541 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002358/0.7463, allocations: 0.5664 MB / 0.8547 GB, free: 5.645 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003121/0.7466, allocations: 148.4 kB / 0.8548 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01236/0.759, allocations: 5.514 MB / 0.8602 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.759, allocations: 0 / 0.8602 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007104/0.7661, allocations: 3.494 MB / 0.8636 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/0.7687, allocations: 0.5525 MB / 0.8642 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009336/0.7781, allocations: 4.66 MB / 0.8687 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/0.7794, allocations: 1.477 MB / 0.8702 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001804/0.7813, allocations: 428.2 kB / 0.8706 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/0.7817, allocations: 107.4 kB / 0.8707 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of SimCode: time 1.192e-06/0.7817, allocations: 0 / 0.8707 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of Templates: time 0.07035/0.852, allocations: 39.25 MB / 0.909 GB, free: 14.22 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)