Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001124/0.001124, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 14.95 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.00215, allocations: 284 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.906/0.906, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 102.4 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.153, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.3013/0.4543, allocations: 35.11 MB / 0.7159 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01743/0.4718, allocations: 9.932 MB / 0.7256 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003528/0.4753, allocations: 148.5 kB / 0.7257 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.009024/0.4844, allocations: 3.81 MB / 0.7295 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005636/0.49, allocations: 2.037 MB / 0.7314 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004659/0.4947, allocations: 1.961 MB / 0.7334 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008785/0.5035, allocations: 7.975 MB / 0.7411 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009822/0.5133, allocations: 9.516 MB / 0.7504 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005386/0.5187, allocations: 3.369 MB / 0.7537 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005655/0.5244, allocations: 3.75 MB / 0.7574 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.5257, allocations: 0.6758 MB / 0.7581 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.5289, allocations: 1.44 MB / 0.7595 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002425/0.5314, allocations: 2.62 MB / 0.762 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003448/0.5348, allocations: 3.097 MB / 0.765 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009725/0.5446, allocations: 10.38 MB / 0.7752 GB, free: 15.69 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.5446, allocations: 4 kB / 0.7752 GB, free: 15.69 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5446, allocations: 0 / 0.7752 GB, free: 15.69 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002527/0.5449, allocations: 0 / 0.7752 GB, free: 15.69 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01241/0.5573, allocations: 5.405 MB / 0.7805 GB, free: 10.21 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.5573, allocations: 16.02 kB / 0.7805 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004667/0.562, allocations: 0.9586 MB / 0.7814 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006909/0.569, allocations: 3.182 MB / 0.7845 GB, free: 5.992 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002511/0.5692, allocations: 353.9 kB / 0.7849 GB, free: 5.645 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.5703, allocations: 464.3 kB / 0.7853 GB, free: 5.191 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/0.5834, allocations: 7.918 MB / 0.793 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.5836, allocations: 19.78 kB / 0.793 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007504/0.5843, allocations: 212 kB / 0.7932 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004652/0.5848, allocations: 365.1 kB / 0.7936 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009984/0.5948, allocations: 5.941 MB / 0.7994 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03657/0.6314, allocations: 35.94 MB / 0.8345 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003405/0.6348, allocations: 2.142 MB / 0.8366 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/0.6368, allocations: 1.477 MB / 0.838 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.637, allocations: 21.31 kB / 0.8381 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.637, allocations: 59.81 kB / 0.8381 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=157): time 3.366e-06/0.637, allocations: 0 / 0.8381 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=160): time 0.01349/0.6505, allocations: 7.532 MB / 0.8455 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.6506, allocations: 68.72 kB / 0.8455 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.6529, allocations: 1.864 MB / 0.8474 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.653, allocations: 53.7 kB / 0.8474 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.6543, allocations: 2.127 MB / 0.8495 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004279/0.6547, allocations: 0.5546 MB / 0.85 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005693/0.6553, allocations: 399.7 kB / 0.8504 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.6554, allocations: 309.1 kB / 0.8507 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.6568, allocations: 1.058 MB / 0.8517 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/0.6587, allocations: 1.768 MB / 0.8535 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/0.6621, allocations: 3.053 MB / 0.8564 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.6621, allocations: 4 kB / 0.8564 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005861/0.668, allocations: 3.929 MB / 0.8603 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.668, allocations: 14.19 kB / 0.8603 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/0.668, allocations: 24 kB / 0.8603 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002299/0.6704, allocations: 0.9312 MB / 0.8612 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.6718, allocations: 427.2 kB / 0.8616 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/0.6906, allocations: 22.75 MB / 0.8838 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.6926, allocations: 119.9 kB / 0.884 GB, free: 9.746 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.6927, allocations: 92 kB / 0.8841 GB, free: 9.656 MB / 0.6544 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.002408/0.6952, allocations: 1.656 MB / 0.8857 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004492/0.6956, allocations: 257 kB / 0.8859 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/0.7008, allocations: 3.264 MB / 0.8891 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.7008, allocations: 16 kB / 0.8891 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.7008, allocations: 8 kB / 0.8891 GB, free: 4.395 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.7009, allocations: 7.969 kB / 0.8891 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/0.7128, allocations: 7.556 MB / 0.8965 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.7128, allocations: 4 kB / 0.8965 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008626/0.7137, allocations: 220.2 kB / 0.8967 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002177/0.7159, allocations: 0.8999 MB / 0.8976 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.892e-05/0.716, allocations: 32 kB / 0.8976 GB, free: 11.49 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0184/0.7344, allocations: 22.73 MB / 0.9198 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.7345, allocations: 4 kB / 0.9198 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004998/0.7395, allocations: 3.375 MB / 0.9231 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/0.7408, allocations: 0.5293 MB / 0.9237 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003154/0.7411, allocations: 35.94 kB / 0.9237 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009649/0.7421, allocations: 91.83 kB / 0.9238 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003582/0.7425, allocations: 145 kB / 0.9239 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.7426, allocations: 44 kB / 0.924 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00147/0.744, allocations: 1.229 MB / 0.9252 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.744, allocations: 0 / 0.9252 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002384/0.7464, allocations: 0.9023 MB / 0.926 GB, free: 12.57 MB / 0.7012 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002352/0.7467, allocations: 159 kB / 0.9262 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005734/0.7524, allocations: 4.428 MB / 0.9305 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.7524, allocations: 4 kB / 0.9305 GB, free: 7.828 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003697/0.7562, allocations: 2.985 MB / 0.9334 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/0.7593, allocations: 0.8259 MB / 0.9342 GB, free: 3.883 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.7713, allocations: 7.596 MB / 0.9417 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003195/0.7746, allocations: 3.209 MB / 0.9448 GB, free: 8.957 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001734/0.7763, allocations: 0.5254 MB / 0.9453 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/0.7767, allocations: 143.4 kB / 0.9454 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of SimCode: time 8.32e-07/0.7767, allocations: 0 / 0.9454 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of Templates: time 0.3493/1.126, allocations: 41.01 MB / 0.9855 GB, free: 215.7 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)