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.00477/0.00477, allocations: 104.4 kB / 15.74 MB, free: 6.441 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.001106/0.001106, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.26/1.26, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00201/0.00201, allocations: 290.6 kB / 290.8 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9231/0.9231, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 95.84 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1586, allocations: 86.98 MB / 0.7664 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.3412/0.4998, allocations: 41.16 MB / 0.8066 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02607/0.5259, allocations: 15.09 MB / 0.8213 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005649/0.5316, allocations: 187.4 kB / 0.8215 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01221/0.5439, allocations: 4.478 MB / 0.8259 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008492/0.5524, allocations: 2.933 MB / 0.8287 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008108/0.5605, allocations: 3.144 MB / 0.8318 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01402/0.5745, allocations: 11.43 MB / 0.843 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01731/0.5919, allocations: 12.46 MB / 0.8552 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008156/0.6, allocations: 4.915 MB / 0.86 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008161/0.6082, allocations: 5.386 MB / 0.8652 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002392/0.6106, allocations: 0.9492 MB / 0.8661 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005483/0.6161, allocations: 2.036 MB / 0.8681 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004894/0.621, allocations: 3.703 MB / 0.8717 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007555/0.6286, allocations: 4.295 MB / 0.8759 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01428/0.6429, allocations: 14.27 MB / 0.8899 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6429, allocations: 0 / 0.8899 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6429, allocations: 0 / 0.8899 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002832/0.6432, 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.01507/0.6583, allocations: 7.612 MB / 0.8973 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6583, allocations: 8.031 kB / 0.8973 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008903/0.6672, allocations: 1.522 MB / 0.8988 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007681/0.6749, allocations: 4.439 MB / 0.9031 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002977/0.6753, allocations: 456.5 kB / 0.9036 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001147/0.6764, allocations: 0.6015 MB / 0.9042 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/0.6931, allocations: 10.69 MB / 0.9146 GB, free: 11.36 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001424/0.6932, allocations: 31.78 kB / 0.9146 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00065/0.6939, allocations: 263.9 kB / 0.9149 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002323/0.6962, allocations: 0.7729 MB / 0.9156 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01701/0.7132, allocations: 8.561 MB / 0.924 GB, free: 1.707 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06491/0.7782, allocations: 46.54 MB / 0.9694 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005673/0.7839, allocations: 4.312 MB / 0.9737 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005061/0.789, allocations: 3.72 MB / 0.9773 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000296/0.7893, allocations: 34.78 kB / 0.9773 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.396e-05/0.7894, allocations: 77.34 kB / 0.9774 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 5.43e-06/0.7894, allocations: 0 / 0.9774 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.7907/1.58, allocations: 122.8 MB / 1.097 GB, free: 267.1 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.651e-05/1.58, allocations: 110.6 kB / 1.097 GB, free: 267 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0036/1.584, allocations: 2.68 MB / 1.1 GB, free: 266.1 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0007794/1.585, allocations: 119.5 kB / 1.1 GB, free: 266 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/1.586, allocations: 2.682 MB / 1.103 GB, free: 264.9 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001596/1.588, allocations: 1.95 MB / 1.105 GB, free: 263.4 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001638/1.589, allocations: 0.9262 MB / 1.106 GB, free: 263 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 3.689e-05/1.589, allocations: 301.9 kB / 1.106 GB, free: 262.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005286/1.595, allocations: 4.08 MB / 1.11 GB, free: 261 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006069/1.601, allocations: 5.02 MB / 1.115 GB, free: 258.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/1.614, allocations: 9.847 MB / 1.124 GB, free: 253.1 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/1.614, allocations: 7.188 kB / 1.124 GB, free: 253.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03393/1.648, allocations: 17 MB / 1.141 GB, free: 246.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/1.648, allocations: 14.22 kB / 1.141 GB, free: 246.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/1.648, allocations: 26.38 kB / 1.141 GB, free: 246.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02766/1.675, allocations: 9.089 MB / 1.15 GB, free: 244.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/1.677, allocations: 0.5185 MB / 1.15 GB, free: 244.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08405/1.761, allocations: 76.96 MB / 1.226 GB, free: 177 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004401/1.766, allocations: 279.8 kB / 1.226 GB, free: 176.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004878/1.766, allocations: 194.7 kB / 1.226 GB, free: 176.5 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.003134/1.77, allocations: 2.43 MB / 1.228 GB, free: 174.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007755/1.77, allocations: 470.5 kB / 1.229 GB, free: 173.6 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0302/1.801, allocations: 16.81 MB / 1.245 GB, free: 156.7 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.334e-05/1.801, allocations: 59.94 kB / 1.245 GB, free: 156.6 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001201/1.801, allocations: 72 kB / 1.245 GB, free: 156.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.085e-05/1.801, allocations: 27.89 kB / 1.245 GB, free: 156.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04121/1.842, allocations: 25.66 MB / 1.27 GB, free: 130.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.971e-05/1.842, allocations: 8.125 kB / 1.27 GB, free: 130.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/1.844, allocations: 319.5 kB / 1.271 GB, free: 130.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02509/1.869, allocations: 8.276 MB / 1.279 GB, free: 122 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009526/1.87, allocations: 108 kB / 1.279 GB, free: 121.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08092/1.951, allocations: 73.82 MB / 1.351 GB, free: 46.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.951, allocations: 11.94 kB / 1.351 GB, free: 46.56 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03508/1.986, allocations: 21.56 MB / 1.372 GB, free: 24.65 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002932/1.989, allocations: 1.358 MB / 1.373 GB, free: 23.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007995/1.99, allocations: 112.1 kB / 1.374 GB, free: 23.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002845/1.993, allocations: 287.6 kB / 1.374 GB, free: 22.88 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001596/1.994, allocations: 0.526 MB / 1.374 GB, free: 22.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003638/1.994, allocations: 140 kB / 1.374 GB, free: 22.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001982/1.996, allocations: 1.78 MB / 1.376 GB, free: 20.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.51e-07/1.996, allocations: 4 kB / 1.376 GB, free: 20.43 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.006116/2.003, allocations: 2.466 MB / 1.379 GB, free: 17.96 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.000535/2.003, allocations: 238 kB / 1.379 GB, free: 17.72 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02045/2.024, allocations: 14.53 MB / 1.393 GB, free: 3.012 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/2.024, allocations: 4 kB / 1.393 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01686/2.041, allocations: 9.363 MB / 1.402 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005871/2.046, allocations: 1.377 MB / 1.403 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02837/2.075, allocations: 15.57 MB / 1.419 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007224/2.082, allocations: 4.897 MB / 1.423 GB, free: 3.598 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002804/2.085, allocations: 0.7448 MB / 1.424 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007658/2.086, allocations: 195.4 kB / 1.424 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of SimCode: time 7.11e-07/2.086, allocations: 0 / 1.424 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of Templates: time 0.4936/2.579, 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)