Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 108.5 kB / 16.41 MB, free: 6.016 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.001621/0.001621, allocations: 188.3 kB / 17.34 MB, free: 5.629 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.455/1.455, 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.002613/0.002613, allocations: 289.8 kB / 291.5 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 1.049/1.049, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002842/0.002842, allocations: 99.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4093, allocations: 86.98 MB / 0.7671 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008603/0.4179, allocations: 6.164 MB / 0.7731 GB, free: 13.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005205/0.4231, allocations: 3.172 MB / 0.7762 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.4234, allocations: 27.81 kB / 0.7762 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.4259, allocations: 0.9441 MB / 0.7771 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.427, allocations: 493.5 kB / 0.7776 GB, free: 9.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.4281, allocations: 0.4948 MB / 0.7781 GB, free: 8.754 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001262/0.4294, allocations: 1.1 MB / 0.7791 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007834/0.4302, allocations: 0.506 MB / 0.7796 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.4307, allocations: 454.3 kB / 0.7801 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000615/0.4313, allocations: 470.2 kB / 0.7805 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.348e-05/0.4314, allocations: 60 kB / 0.7806 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008775/0.4323, allocations: 487 kB / 0.781 GB, free: 5.703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003475/0.4326, allocations: 295.1 kB / 0.7813 GB, free: 5.414 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004434/0.4331, allocations: 405.9 kB / 0.7817 GB, free: 5.016 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.4347, allocations: 1.185 MB / 0.7829 GB, free: 3.828 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4347, allocations: 0 / 0.7829 GB, free: 3.828 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4347, allocations: 0 / 0.7829 GB, free: 3.828 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.4347, allocations: 0 / 0.7829 GB, free: 3.828 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001735/0.4364, allocations: 1.093 MB / 0.7839 GB, free: 2.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4365, allocations: 8.031 kB / 0.7839 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.4381, allocations: 220.2 kB / 0.7842 GB, free: 2.457 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.4391, allocations: 0.5965 MB / 0.7847 GB, free: 1.824 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.4391, allocations: 45.67 kB / 0.7848 GB, free: 1.781 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.4392, allocations: 72.28 kB / 0.7849 GB, free: 1.711 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.4408, allocations: 1.03 MB / 0.7859 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/0.4409, allocations: 11.89 kB / 0.7859 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.898e-05/0.4409, allocations: 31.92 kB / 0.7859 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-05/0.441, allocations: 69.27 kB / 0.786 GB, free: 476 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.4422, allocations: 0.6957 MB / 0.7866 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005706/0.4479, allocations: 5.734 MB / 0.7922 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008763/0.4487, allocations: 0.5576 MB / 0.7928 GB, free: 9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008461/0.4496, allocations: 386.4 kB / 0.7932 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.4496, allocations: 4 kB / 0.7932 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.4496, allocations: 38.56 kB / 0.7932 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 2.144e-06/0.4496, allocations: 0 / 0.7932 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004603/0.4542, allocations: 2.024 MB / 0.7952 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.4543, allocations: 59.39 kB / 0.7952 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.4548, allocations: 462.9 kB / 0.7957 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.4549, allocations: 29.7 kB / 0.7957 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.4552, allocations: 396.1 kB / 0.7961 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.4554, allocations: 162.6 kB / 0.7962 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.4555, allocations: 114.2 kB / 0.7963 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.4557, allocations: 366.8 kB / 0.7967 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.4561, allocations: 249.1 kB / 0.7969 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005961/0.4567, allocations: 445 kB / 0.7974 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009951/0.4577, allocations: 0.7565 MB / 0.7981 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4577, allocations: 0 / 0.7981 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00202/0.4597, allocations: 1.031 MB / 0.7991 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4598, allocations: 8 kB / 0.7991 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.4598, allocations: 12.06 kB / 0.7991 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.4608, allocations: 319.1 kB / 0.7994 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.4611, allocations: 95.83 kB / 0.7995 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008079/0.4692, allocations: 7.47 MB / 0.8068 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.4696, allocations: 24.03 kB / 0.8068 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.474e-05/0.4697, allocations: 28 kB / 0.8069 GB, free: 9.652 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003658/0.47, allocations: 253.5 kB / 0.8071 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4701, allocations: 63.75 kB / 0.8072 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.472, allocations: 0.8847 MB / 0.808 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.472, allocations: 4 kB / 0.808 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.472, allocations: 8 kB / 0.808 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.472, allocations: 0 / 0.808 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/0.4748, allocations: 1.685 MB / 0.8097 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4748, allocations: 0 / 0.8097 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.475, allocations: 43.91 kB / 0.8097 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009416/0.4759, allocations: 307.3 kB / 0.81 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.476, allocations: 8 kB / 0.81 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008019/0.484, allocations: 7.463 MB / 0.8173 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.484, allocations: 3.938 kB / 0.8173 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.4858, allocations: 0.9916 MB / 0.8183 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.4861, allocations: 180.7 kB / 0.8185 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.4862, allocations: 8 kB / 0.8185 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.4865, allocations: 19.97 kB / 0.8185 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.4866, allocations: 51.83 kB / 0.8185 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.4866, allocations: 12 kB / 0.8185 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003956/0.487, allocations: 314.9 kB / 0.8188 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.487, allocations: 0 / 0.8188 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007899/0.4878, allocations: 192 kB / 0.819 GB, free: 12.43 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001551/0.488, allocations: 116.1 kB / 0.8191 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.4899, allocations: 1.148 MB / 0.8203 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.4899, allocations: 4 kB / 0.8203 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.4912, allocations: 0.8229 MB / 0.8211 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.4922, allocations: 212.7 kB / 0.8213 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.4944, allocations: 1.256 MB / 0.8225 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008416/0.4952, allocations: 0.9961 MB / 0.8235 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000305/0.4955, allocations: 105.2 kB / 0.8236 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.4956, allocations: 31.44 kB / 0.8236 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of SimCode: time 9.72e-07/0.4956, allocations: 4 kB / 0.8236 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of Templates: time 0.02037/0.516, allocations: 10.06 MB / 0.8334 GB, free: 13.62 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)