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.001391/0.001391, allocations: 118.6 kB / 16.37 MB, free: 5.984 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.001178/0.001178, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 284 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9358/0.9358, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 93.91 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.145, allocations: 86.98 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.2796/0.4246, allocations: 35.11 MB / 0.7159 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01765/0.4423, allocations: 9.925 MB / 0.7256 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003663/0.446, allocations: 152.4 kB / 0.7257 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.009819/0.4559, allocations: 3.807 MB / 0.7295 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006283/0.4622, allocations: 2.035 MB / 0.7314 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005557/0.4677, allocations: 1.965 MB / 0.7334 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0102/0.4779, allocations: 7.98 MB / 0.7412 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01332/0.4913, allocations: 9.525 MB / 0.7505 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005686/0.497, allocations: 3.365 MB / 0.7537 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005785/0.5028, allocations: 3.738 MB / 0.7574 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0017/0.5045, allocations: 0.6836 MB / 0.7581 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003825/0.5084, allocations: 1.443 MB / 0.7595 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003629/0.512, allocations: 2.608 MB / 0.762 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004839/0.5169, allocations: 3.108 MB / 0.7651 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009707/0.5266, allocations: 10.38 MB / 0.7752 GB, free: 15.67 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5266, allocations: 0 / 0.7752 GB, free: 15.67 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5266, allocations: 0 / 0.7752 GB, free: 15.67 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001984/0.5268, allocations: 0 / 0.7752 GB, free: 15.67 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.009936/0.5368, allocations: 5.408 MB / 0.7805 GB, free: 10.19 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.5368, allocations: 8.031 kB / 0.7805 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/0.5413, allocations: 0.9587 MB / 0.7814 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005606/0.5469, allocations: 3.178 MB / 0.7845 GB, free: 5.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002361/0.5472, allocations: 357.9 kB / 0.7849 GB, free: 5.629 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007626/0.548, allocations: 468.3 kB / 0.7853 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01195/0.5599, allocations: 7.91 MB / 0.793 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.5601, allocations: 19.78 kB / 0.7931 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006145/0.5607, allocations: 208 kB / 0.7933 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000487/0.5612, allocations: 373 kB / 0.7936 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.5722, allocations: 5.941 MB / 0.7994 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03897/0.6113, allocations: 35.95 MB / 0.8345 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/0.6146, allocations: 2.135 MB / 0.8366 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/0.6165, allocations: 1.481 MB / 0.838 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.6166, allocations: 17.31 kB / 0.8381 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.6166, allocations: 55.81 kB / 0.8381 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=157): time 5.41e-06/0.6167, allocations: 0 / 0.8381 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=160): time 0.01306/0.6297, allocations: 7.536 MB / 0.8455 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.6298, allocations: 72.72 kB / 0.8455 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.6323, allocations: 1.86 MB / 0.8474 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001302/0.6325, allocations: 53.7 kB / 0.8474 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.6337, allocations: 2.131 MB / 0.8495 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000431/0.6342, allocations: 0.5507 MB / 0.85 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005975/0.6348, allocations: 407.7 kB / 0.8504 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.6349, allocations: 301.1 kB / 0.8507 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.6364, allocations: 1.058 MB / 0.8517 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001936/0.6383, allocations: 1.768 MB / 0.8535 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003604/0.6419, allocations: 3.045 MB / 0.8564 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/0.642, allocations: 8 kB / 0.8564 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006807/0.6488, allocations: 3.924 MB / 0.8603 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.6488, allocations: 18.81 kB / 0.8603 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/0.6489, allocations: 28.78 kB / 0.8603 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002405/0.6513, allocations: 0.9233 MB / 0.8612 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.6528, allocations: 431.3 kB / 0.8616 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/0.6721, allocations: 22.75 MB / 0.8839 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.674, allocations: 124 kB / 0.884 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/0.6743, allocations: 104 kB / 0.8841 GB, free: 9.629 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.002576/0.6769, allocations: 1.65 MB / 0.8857 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005617/0.6774, allocations: 257 kB / 0.8859 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005397/0.6829, allocations: 3.264 MB / 0.8891 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.6829, allocations: 16 kB / 0.8891 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.861e-05/0.6829, allocations: 16 kB / 0.8891 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.6829, allocations: 7.969 kB / 0.8892 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/0.6958, allocations: 7.556 MB / 0.8965 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.6959, allocations: 4 kB / 0.8965 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009053/0.6968, allocations: 211.7 kB / 0.8967 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002278/0.6991, allocations: 0.9002 MB / 0.8976 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.6992, allocations: 32 kB / 0.8976 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/0.7179, allocations: 22.72 MB / 0.9198 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.718, allocations: 8 kB / 0.9198 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005188/0.7232, allocations: 3.379 MB / 0.9231 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.7245, allocations: 0.5254 MB / 0.9237 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.7248, allocations: 35.94 kB / 0.9237 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.7258, allocations: 99.81 kB / 0.9238 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003712/0.7262, allocations: 141 kB / 0.9239 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.7263, allocations: 48 kB / 0.924 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001592/0.7279, allocations: 1.221 MB / 0.9252 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7279, allocations: 0 / 0.9252 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002574/0.7305, allocations: 0.9102 MB / 0.926 GB, free: 12.55 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.00026/0.7308, allocations: 160.1 kB / 0.9262 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006002/0.7368, allocations: 4.428 MB / 0.9305 GB, free: 7.812 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.7368, allocations: 5 kB / 0.9305 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003863/0.7407, allocations: 2.988 MB / 0.9334 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/0.7439, allocations: 0.8178 MB / 0.9342 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.7557, allocations: 7.595 MB / 0.9417 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003123/0.7589, allocations: 3.205 MB / 0.9448 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001658/0.7605, allocations: 0.5254 MB / 0.9453 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/0.7609, allocations: 143.4 kB / 0.9454 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of SimCode: time 6.02e-07/0.7609, allocations: 3.938 kB / 0.9454 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of Templates: time 0.3105/1.071, allocations: 41 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)