Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006593/0.006593, allocations: 99.8 kB / 15.73 MB, free: 6.496 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.001815/0.001815, allocations: 199 kB / 16.68 MB, free: 6.375 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 278.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9553/0.9553, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 91.86 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1638, allocations: 86.98 MB / 0.7664 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.35/0.5138, allocations: 41.15 MB / 0.8066 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02642/0.5403, allocations: 15.09 MB / 0.8213 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004988/0.5453, allocations: 192 kB / 0.8215 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01164/0.557, allocations: 4.477 MB / 0.8259 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008042/0.565, allocations: 2.932 MB / 0.8288 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008142/0.5732, allocations: 3.147 MB / 0.8318 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01572/0.5889, allocations: 11.42 MB / 0.843 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02044/0.6094, allocations: 12.47 MB / 0.8552 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008272/0.6177, allocations: 4.907 MB / 0.8599 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008501/0.6262, allocations: 5.394 MB / 0.8652 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00262/0.6288, allocations: 0.9492 MB / 0.8661 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005759/0.6346, allocations: 2.04 MB / 0.8681 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005621/0.6402, allocations: 3.695 MB / 0.8717 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.008151/0.6484, allocations: 4.291 MB / 0.8759 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01969/0.6681, allocations: 14.27 MB / 0.8899 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.6682, allocations: 0 / 0.8899 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6682, allocations: 0 / 0.8899 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0006253/0.6688, allocations: 0 / 0.8899 GB, free: 5.223 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02647/0.6953, allocations: 7.612 MB / 0.8973 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.6953, allocations: 8.031 kB / 0.8973 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.7063, allocations: 1.518 MB / 0.8988 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009086/0.7154, allocations: 4.439 MB / 0.9031 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004186/0.7158, allocations: 460.5 kB / 0.9036 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002018/0.7178, allocations: 0.5939 MB / 0.9042 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/0.7421, allocations: 10.69 MB / 0.9146 GB, free: 11.36 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003046/0.7425, allocations: 35.7 kB / 0.9146 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001881/0.7444, allocations: 255.9 kB / 0.9149 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003069/0.7474, allocations: 0.7768 MB / 0.9156 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01803/0.7655, allocations: 8.557 MB / 0.924 GB, free: 1.715 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0659/0.8314, allocations: 46.54 MB / 0.9694 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006327/0.8378, allocations: 4.316 MB / 0.9737 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005632/0.8434, allocations: 3.716 MB / 0.9773 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000375/0.8438, allocations: 42.78 kB / 0.9773 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.443e-05/0.8439, allocations: 69.34 kB / 0.9774 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 6.352e-06/0.8439, allocations: 0 / 0.9774 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.9076/1.752, allocations: 122.8 MB / 1.097 GB, free: 267 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/1.752, allocations: 118.2 kB / 1.097 GB, free: 267 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004432/1.756, allocations: 2.678 MB / 1.1 GB, free: 266 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.001209/1.757, allocations: 120.5 kB / 1.1 GB, free: 265.9 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001836/1.759, allocations: 2.684 MB / 1.103 GB, free: 264.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.002081/1.761, allocations: 1.951 MB / 1.105 GB, free: 263.4 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001636/1.763, allocations: 0.9236 MB / 1.106 GB, free: 263 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 4.467e-05/1.763, allocations: 305.6 kB / 1.106 GB, free: 262.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005679/1.769, allocations: 4.079 MB / 1.11 GB, free: 261 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006702/1.775, allocations: 5.017 MB / 1.115 GB, free: 258.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01499/1.79, allocations: 9.853 MB / 1.124 GB, free: 253.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-05/1.79, allocations: 5.5 kB / 1.124 GB, free: 253.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03891/1.829, allocations: 16.99 MB / 1.141 GB, free: 246.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/1.829, allocations: 19.39 kB / 1.141 GB, free: 246.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.797e-05/1.83, allocations: 26.55 kB / 1.141 GB, free: 246.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03014/1.86, allocations: 9.082 MB / 1.15 GB, free: 244.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/1.862, allocations: 0.5222 MB / 1.15 GB, free: 244.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08564/1.948, allocations: 76.95 MB / 1.226 GB, free: 177 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005257/1.953, allocations: 280.4 kB / 1.226 GB, free: 176.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006551/1.954, allocations: 192 kB / 1.226 GB, free: 176.6 MB / 0.8419 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003683/1.957, allocations: 2.422 MB / 1.228 GB, free: 174.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/1.958, allocations: 470.5 kB / 1.229 GB, free: 173.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03311/1.991, allocations: 16.83 MB / 1.245 GB, free: 156.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-05/1.992, allocations: 59.94 kB / 1.245 GB, free: 156.7 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00018/1.992, allocations: 68.88 kB / 1.245 GB, free: 156.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001124/1.992, allocations: 32.73 kB / 1.245 GB, free: 156.6 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04617/2.038, allocations: 25.65 MB / 1.27 GB, free: 130.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.632e-05/2.038, allocations: 4.938 kB / 1.27 GB, free: 130.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/2.04, allocations: 319.5 kB / 1.271 GB, free: 130.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02568/2.066, allocations: 8.273 MB / 1.279 GB, free: 122.1 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008526/2.066, allocations: 111 kB / 1.279 GB, free: 121.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08322/2.15, allocations: 73.82 MB / 1.351 GB, free: 46.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/2.15, allocations: 11.94 kB / 1.351 GB, free: 46.59 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03921/2.189, allocations: 21.56 MB / 1.372 GB, free: 24.69 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00344/2.192, allocations: 1.365 MB / 1.373 GB, free: 23.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00163/2.194, allocations: 108 kB / 1.374 GB, free: 23.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004343/2.198, allocations: 287.6 kB / 1.374 GB, free: 22.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002553/2.201, allocations: 0.5182 MB / 1.374 GB, free: 22.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008283/2.202, allocations: 147.9 kB / 1.374 GB, free: 22.24 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003095/2.205, allocations: 1.78 MB / 1.376 GB, free: 20.47 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/2.205, allocations: 0 / 1.376 GB, free: 20.47 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.009356/2.214, allocations: 2.465 MB / 1.379 GB, free: 18 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001081/2.215, allocations: 242.4 kB / 1.379 GB, free: 17.76 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02488/2.24, allocations: 14.53 MB / 1.393 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/2.24, allocations: 0 / 1.393 GB, free: 3.047 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.02062/2.261, allocations: 9.353 MB / 1.402 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00969/2.271, allocations: 1.381 MB / 1.403 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03746/2.308, allocations: 15.58 MB / 1.419 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008919/2.317, allocations: 4.893 MB / 1.423 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003239/2.321, allocations: 0.741 MB / 1.424 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008947/2.321, allocations: 199.4 kB / 1.424 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of SimCode: time 1.413e-06/2.321, allocations: 4 kB / 1.424 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of Templates: time 0.5501/2.872, allocations: 147 MB / 1.568 GB, free: 179.5 MB / 0.8731 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)