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.001084/0.001084, allocations: 106.2 kB / 16.36 MB, free: 6.34 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.001089/0.001089, allocations: 198.2 kB / 17.3 MB, free: 5.879 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 282.1 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9091/0.9091, allocations: 169.3 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 91.64 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1699, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.2966/0.4665, allocations: 14.03 MB / 0.6953 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.48, allocations: 9.389 MB / 0.7045 GB, free: 5.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.4813, allocations: 57.69 kB / 0.7045 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003751/0.4852, allocations: 1.674 MB / 0.7062 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004348/0.4895, allocations: 1.546 MB / 0.7077 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.4915, allocations: 0.7514 MB / 0.7084 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003134/0.4947, allocations: 2.525 MB / 0.7109 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.4964, allocations: 1.403 MB / 0.7122 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/0.498, allocations: 1.048 MB / 0.7133 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.4995, allocations: 1.145 MB / 0.7144 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002378/0.4997, allocations: 164.8 kB / 0.7145 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.5014, allocations: 0.7945 MB / 0.7153 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005961/0.502, allocations: 0.612 MB / 0.7159 GB, free: 268 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009254/0.5029, allocations: 0.9391 MB / 0.7168 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003517/0.5064, allocations: 2.765 MB / 0.7195 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5065, allocations: 1.156 kB / 0.7195 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.654e-06/0.5065, allocations: 0 / 0.7195 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.514e-05/0.5065, allocations: 0 / 0.7195 GB, free: 14.73 MB / 0.4981 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.004322/0.5108, allocations: 2.135 MB / 0.7216 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.5109, allocations: 12.44 kB / 0.7216 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.5214, allocations: 2.084 MB / 0.7237 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.5242, allocations: 1.295 MB / 0.7249 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.5243, allocations: 90.55 kB / 0.725 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.5245, allocations: 116.3 kB / 0.7251 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005387/0.5299, allocations: 2.681 MB / 0.7277 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.5299, allocations: 7.031 kB / 0.7277 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.5301, allocations: 58.88 kB / 0.7278 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005555/0.5307, allocations: 182.3 kB / 0.728 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006827/0.5375, allocations: 2.798 MB / 0.7307 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01527/0.5528, allocations: 10.45 MB / 0.7409 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00973/0.5626, allocations: 2.534 MB / 0.7434 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004521/0.5671, allocations: 1.286 MB / 0.7447 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.308e-05/0.5672, allocations: 13.25 kB / 0.7447 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.5673, allocations: 43.69 kB / 0.7447 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=89): time 4.738e-06/0.5673, allocations: 0 / 0.7447 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=131): time 0.05871/0.626, allocations: 13.35 MB / 0.7577 GB, free: 216 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.6261, allocations: 64.72 kB / 0.7578 GB, free: 140 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.6279, allocations: 1.121 MB / 0.7589 GB, free: 15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.628, allocations: 45.7 kB / 0.7589 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005295/0.6286, allocations: 0.7116 MB / 0.7596 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004012/0.629, allocations: 457.3 kB / 0.7601 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004784/0.6295, allocations: 263.4 kB / 0.7603 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6296, allocations: 365.9 kB / 0.7607 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002937/0.6326, allocations: 1.342 MB / 0.762 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003075/0.6356, allocations: 1.6 MB / 0.7635 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006027/0.6417, allocations: 2.998 MB / 0.7665 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6417, allocations: 0 / 0.7665 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01081/0.6525, allocations: 4.439 MB / 0.7708 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.6526, allocations: 14.28 kB / 0.7708 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.6526, allocations: 8 kB / 0.7708 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005017/0.6576, allocations: 1.434 MB / 0.7722 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/0.6595, allocations: 435.2 kB / 0.7726 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02526/0.6848, allocations: 26.68 MB / 0.7987 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/0.6876, allocations: 303.5 kB / 0.799 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.6878, allocations: 59.95 kB / 0.799 GB, free: 3.742 MB / 0.5606 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.0008553/0.6887, allocations: 441.5 kB / 0.7995 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.6889, allocations: 158.1 kB / 0.7996 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/0.6996, allocations: 4.453 MB / 0.804 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.6997, allocations: 12 kB / 0.804 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.291e-05/0.6997, allocations: 16 kB / 0.804 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.6997, allocations: 7.969 kB / 0.804 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/0.7142, allocations: 6.764 MB / 0.8106 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.7142, allocations: 4 kB / 0.8106 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001625/0.7158, allocations: 379.4 kB / 0.811 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004498/0.7203, allocations: 1.311 MB / 0.8123 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/0.7205, allocations: 39.97 kB / 0.8123 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02418/0.7447, allocations: 25.5 MB / 0.8372 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7447, allocations: 0 / 0.8372 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/0.755, allocations: 4.21 MB / 0.8413 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/0.7564, allocations: 455 kB / 0.8417 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/0.7566, allocations: 27.98 kB / 0.8418 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/0.7586, allocations: 311.5 kB / 0.8421 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004309/0.759, allocations: 120.7 kB / 0.8422 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.7591, allocations: 55.97 kB / 0.8422 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001/0.7601, allocations: 0.7487 MB / 0.843 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7601, allocations: 0 / 0.843 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002064/0.7622, allocations: 0.5703 MB / 0.8435 GB, free: 3.977 MB / 0.6075 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.0002852/0.7625, allocations: 147.9 kB / 0.8437 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0104/0.7729, allocations: 5.131 MB / 0.8487 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.773, allocations: 0 / 0.8487 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006526/0.7795, allocations: 3.491 MB / 0.8521 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/0.782, allocations: 0.554 MB / 0.8526 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007924/0.79, allocations: 3.986 MB / 0.8565 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.7912, allocations: 1.485 MB / 0.858 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001552/0.7927, allocations: 421.6 kB / 0.8584 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.7931, allocations: 119.4 kB / 0.8585 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of SimCode: time 1.383e-06/0.7932, allocations: 0 / 0.8585 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of Templates: time 0.0615/0.8547, allocations: 38.97 MB / 0.8965 GB, free: 13.76 MB / 0.67 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)