Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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/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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005043/0.005043, allocations: 102 kB / 15.73 MB, free: 6.477 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.001108/0.001108, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.002131, allocations: 282.8 kB / 290.8 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9548/0.9548, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 103.8 kB / 0.6815 GB, free: 15.44 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1497, allocations: 86.97 MB / 0.7664 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.3765/0.5263, allocations: 30.74 MB / 0.7964 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02219/0.5485, allocations: 13.59 MB / 0.8097 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003444/0.552, allocations: 143.9 kB / 0.8098 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009034/0.561, allocations: 3.204 MB / 0.813 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008636/0.5697, allocations: 2.757 MB / 0.8157 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005997/0.5757, allocations: 2.015 MB / 0.8176 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01128/0.587, allocations: 7.643 MB / 0.8251 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01233/0.5994, allocations: 8.232 MB / 0.8331 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006908/0.6063, allocations: 3.477 MB / 0.8365 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006224/0.6126, allocations: 3.372 MB / 0.8398 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002014/0.6146, allocations: 0.5958 MB / 0.8404 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004861/0.6195, allocations: 1.497 MB / 0.8419 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003857/0.6233, allocations: 2.362 MB / 0.8442 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.006795/0.6301, allocations: 2.878 MB / 0.847 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.6426, allocations: 9.469 MB / 0.8562 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.6427, allocations: 4 kB / 0.8562 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6427, allocations: 0 / 0.8562 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002975/0.643, allocations: 0 / 0.8562 GB, free: 7.77 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01246/0.6555, allocations: 5.144 MB / 0.8612 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.6555, allocations: 12.03 kB / 0.8613 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006153/0.6617, allocations: 0.9902 MB / 0.8622 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006198/0.6679, allocations: 3.079 MB / 0.8652 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/0.6682, allocations: 316.8 kB / 0.8655 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001205/0.6694, allocations: 420 kB / 0.8659 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/0.6824, allocations: 6.791 MB / 0.8726 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/0.6826, allocations: 19.78 kB / 0.8726 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000784/0.6833, allocations: 192 kB / 0.8728 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008132/0.6842, allocations: 368 kB / 0.8731 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009097/0.6933, allocations: 5.118 MB / 0.8781 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03315/0.7264, allocations: 30.51 MB / 0.9079 GB, free: 15.59 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.7285, allocations: 1.387 MB / 0.9093 GB, free: 14.19 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.7302, allocations: 1.339 MB / 0.9106 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.791e-05/0.7303, allocations: 17.31 kB / 0.9106 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/0.7303, allocations: 51.88 kB / 0.9106 GB, free: 12.78 MB / 0.67 GB Notification: Performance of pre-optimization done (n=130): time 3.978e-06/0.7304, allocations: 0 / 0.9106 GB, free: 12.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=199): time 0.08054/0.8109, allocations: 23.07 MB / 0.9332 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.811, allocations: 73.41 kB / 0.9332 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00347/0.8145, allocations: 2.062 MB / 0.9353 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002122/0.8147, allocations: 61.7 kB / 0.9353 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.8162, allocations: 2.01 MB / 0.9373 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007121/0.8169, allocations: 0.6816 MB / 0.9379 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008723/0.8178, allocations: 412.2 kB / 0.9383 GB, free: 228 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8179, allocations: 309 kB / 0.9386 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.8201, allocations: 1.43 MB / 0.94 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002886/0.823, allocations: 2.017 MB / 0.942 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004972/0.828, allocations: 3.688 MB / 0.9456 GB, free: 8.293 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/0.828, allocations: 8 kB / 0.9456 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.011/0.839, allocations: 5.657 MB / 0.9511 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.8391, allocations: 16.03 kB / 0.9511 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/0.8391, allocations: 20 kB / 0.9512 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00665/0.8458, allocations: 2.076 MB / 0.9532 GB, free: 400 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.8473, allocations: 383.4 kB / 0.9536 GB, free: 16 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03908/0.8864, allocations: 38.43 MB / 0.9911 GB, free: 7.051 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/0.8896, allocations: 127.9 kB / 0.9912 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005392/0.8901, allocations: 95.92 kB / 0.9913 GB, free: 6.832 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.003163/0.8933, allocations: 1.516 MB / 0.9928 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009299/0.8942, allocations: 276.7 kB / 0.993 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/0.9049, allocations: 5.219 MB / 0.9981 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.9049, allocations: 20 kB / 0.9982 GB, free: 15.72 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.935e-05/0.905, allocations: 16 kB / 0.9982 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/0.905, allocations: 7.969 kB / 0.9982 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/0.9234, allocations: 9.676 MB / 1.008 GB, free: 5.812 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.9234, allocations: 4 kB / 1.008 GB, free: 5.809 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008597/0.9243, allocations: 216.5 kB / 1.008 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005895/0.9302, allocations: 1.838 MB / 1.01 GB, free: 3.703 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/0.9304, allocations: 40 kB / 1.01 GB, free: 3.664 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03671/0.9671, allocations: 37.45 MB / 1.046 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.297e-06/0.9672, allocations: 12.08 kB / 1.046 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008965/0.9761, allocations: 4.909 MB / 1.051 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/0.9775, allocations: 0.6186 MB / 1.052 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004932/0.978, allocations: 39.94 kB / 1.052 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/0.9794, allocations: 131.8 kB / 1.052 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005981/0.9801, allocations: 197.5 kB / 1.052 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.9802, allocations: 56 kB / 1.052 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002081/0.9823, allocations: 1.378 MB / 1.053 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9823, allocations: 0 / 1.053 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003366/0.9857, allocations: 1.047 MB / 1.054 GB, free: 3.113 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003051/0.986, allocations: 174.9 kB / 1.055 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.009447/0.9954, allocations: 6.287 MB / 1.061 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.9955, allocations: 4.812 kB / 1.061 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.006549/1.002, allocations: 4.394 MB / 1.065 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003863/1.006, allocations: 0.9908 MB / 1.066 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/1.021, allocations: 8.054 MB / 1.074 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003843/1.025, allocations: 3.128 MB / 1.077 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001566/1.026, allocations: 0.5198 MB / 1.077 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/1.026, allocations: 143.4 kB / 1.078 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of SimCode: time 9.62e-07/1.027, allocations: 0 / 1.078 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.4137/1.44, allocations: 58.52 MB / 1.135 GB, free: 249.1 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)