Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001426/0.001426, allocations: 107 kB / 17.03 MB, free: 5.699 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.00159/0.00159, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.311/1.311, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7407/0.7407, allocations: 115.1 MB / 406.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001797, allocations: 59.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4111, allocations: 76.15 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01641/0.4275, allocations: 14.01 MB / 0.5713 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01387/0.4415, allocations: 9.384 MB / 0.5804 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.4434, allocations: 59.38 kB / 0.5805 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004083/0.4475, allocations: 1.68 MB / 0.5821 GB, free: 19.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005447/0.453, allocations: 1.535 MB / 0.5836 GB, free: 18.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.4554, allocations: 0.7603 MB / 0.5844 GB, free: 18.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004342/0.4597, allocations: 2.52 MB / 0.5868 GB, free: 17.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002597/0.4623, allocations: 1.405 MB / 0.5882 GB, free: 16.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.4649, allocations: 1.047 MB / 0.5892 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.4677, allocations: 1.146 MB / 0.5903 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007902/0.4685, allocations: 164.8 kB / 0.5905 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.471, allocations: 0.79 MB / 0.5913 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006576/0.4717, allocations: 0.6247 MB / 0.5919 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.4731, allocations: 0.9371 MB / 0.5928 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003079/0.4762, allocations: 2.761 MB / 0.5955 GB, free: 12.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4762, allocations: 0 / 0.5955 GB, free: 12.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4762, allocations: 0 / 0.5955 GB, free: 12.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.481e-05/0.4763, allocations: 1.062 kB / 0.5955 GB, free: 12.36 MB / 446.1 MB 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.004044/0.4803, allocations: 2.139 MB / 0.5976 GB, free: 10.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4804, allocations: 9.281 kB / 0.5976 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.4907, allocations: 2.083 MB / 0.5996 GB, free: 9.395 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/0.4938, allocations: 1.294 MB / 0.6009 GB, free: 8.043 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.357e-05/0.4939, allocations: 90.73 kB / 0.601 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/0.4941, allocations: 124 kB / 0.6011 GB, free: 7.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004757/0.4989, allocations: 2.675 MB / 0.6037 GB, free: 5.008 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.499, allocations: 4 kB / 0.6037 GB, free: 5.004 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.4991, allocations: 55.98 kB / 0.6038 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005115/0.4996, allocations: 182.1 kB / 0.6039 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006086/0.5057, allocations: 2.803 MB / 0.6067 GB, free: 1.957 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/0.5198, allocations: 10.45 MB / 0.6169 GB, free: 6.914 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006105/0.5259, allocations: 2.526 MB / 0.6193 GB, free: 4.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002822/0.5288, allocations: 1.28 MB / 0.6206 GB, free: 3.035 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.839e-05/0.5289, allocations: 20.94 kB / 0.6206 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.5289, allocations: 47.5 kB / 0.6207 GB, free: 2.961 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 4.218e-06/0.5289, allocations: 0 / 0.6207 GB, free: 2.961 MB / 462.1 MB Notification: Performance of matching and sorting (n=131): time 0.04234/0.5713, allocations: 13.36 MB / 0.6337 GB, free: 5.375 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.5713, allocations: 68.72 kB / 0.6338 GB, free: 5.297 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.5728, allocations: 1.117 MB / 0.6349 GB, free: 4.164 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.573, allocations: 49.7 kB / 0.6349 GB, free: 4.109 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/0.5734, allocations: 0.7117 MB / 0.6356 GB, free: 3.391 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003887/0.5738, allocations: 457.4 kB / 0.636 GB, free: 2.938 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004867/0.5743, allocations: 263.4 kB / 0.6363 GB, free: 2.676 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5745, allocations: 361.9 kB / 0.6366 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003039/0.5775, allocations: 1.339 MB / 0.638 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003195/0.5807, allocations: 1.6 MB / 0.6395 GB, free: 15.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006294/0.587, allocations: 2.998 MB / 0.6424 GB, free: 12.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.587, allocations: 4 kB / 0.6424 GB, free: 12.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01092/0.598, allocations: 4.446 MB / 0.6468 GB, free: 7.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.285e-05/0.5981, allocations: 9.719 kB / 0.6468 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.5981, allocations: 8 kB / 0.6468 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005239/0.6034, allocations: 1.43 MB / 0.6482 GB, free: 6.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.6055, allocations: 435.2 kB / 0.6486 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02669/0.6322, allocations: 26.67 MB / 0.6747 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003029/0.6353, allocations: 303.5 kB / 0.675 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.6355, allocations: 63.89 kB / 0.675 GB, free: 8.914 MB / 0.5137 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.0009639/0.6365, allocations: 437.5 kB / 0.6754 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002761/0.6367, allocations: 166.2 kB / 0.6756 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/0.6475, allocations: 4.453 MB / 0.6799 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.6475, allocations: 16 kB / 0.68 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.263e-05/0.6475, allocations: 12.19 kB / 0.68 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.6476, allocations: 7.969 kB / 0.68 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.662, allocations: 6.771 MB / 0.6866 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.6621, allocations: 4 kB / 0.6866 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/0.6637, allocations: 379.4 kB / 0.6869 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004494/0.6682, allocations: 1.305 MB / 0.6882 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.6684, allocations: 39.95 kB / 0.6883 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02393/0.6923, allocations: 25.5 MB / 0.7132 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6923, allocations: 4 kB / 0.7132 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/0.7026, allocations: 4.206 MB / 0.7173 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/0.704, allocations: 450.9 kB / 0.7177 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002566/0.7042, allocations: 31.92 kB / 0.7177 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/0.7061, allocations: 311.5 kB / 0.718 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004565/0.7066, allocations: 120.9 kB / 0.7181 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.7067, allocations: 59.97 kB / 0.7182 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001011/0.7077, allocations: 0.7526 MB / 0.7189 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7078, allocations: 0 / 0.7189 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002136/0.7099, allocations: 0.5703 MB / 0.7195 GB, free: 9.145 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.0003154/0.7102, allocations: 139.8 kB / 0.7196 GB, free: 9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01071/0.7209, allocations: 5.127 MB / 0.7246 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/0.721, allocations: 0 / 0.7246 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006588/0.7276, allocations: 3.495 MB / 0.728 GB, free: 40 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/0.7304, allocations: 0.5495 MB / 0.7286 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008815/0.7392, allocations: 4.002 MB / 0.7325 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.7405, allocations: 1.481 MB / 0.7339 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001595/0.7422, allocations: 417.6 kB / 0.7343 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/0.7426, allocations: 119.4 kB / 0.7345 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of SimCode: time 1.252e-06/0.7426, allocations: 0 / 0.7345 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of Templates: time 0.345/1.088, allocations: 38.94 MB / 0.7725 GB, free: 151.3 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)