Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001548/0.001548, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002504/0.002504, allocations: 295.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002838/0.002838, allocations: 95.84 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.4935, allocations: 86.99 MB / 0.7671 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00737/0.5009, allocations: 4.889 MB / 0.7718 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004593/0.5055, allocations: 2.491 MB / 0.7743 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005223/0.506, allocations: 23.81 kB / 0.7743 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.5074, allocations: 409.9 kB / 0.7747 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.5087, allocations: 469.6 kB / 0.7751 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009694/0.5096, allocations: 393.3 kB / 0.7755 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001171/0.5108, allocations: 0.9251 MB / 0.7764 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.5113, allocations: 299 kB / 0.7767 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004937/0.5118, allocations: 338.7 kB / 0.777 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.5123, allocations: 358.4 kB / 0.7774 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.318e-05/0.5124, allocations: 40 kB / 0.7774 GB, free: 9.465 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007519/0.5131, allocations: 395.1 kB / 0.7778 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.5133, allocations: 187.4 kB / 0.7779 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003092/0.5137, allocations: 322.2 kB / 0.7783 GB, free: 8.578 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.5148, allocations: 0.8931 MB / 0.7791 GB, free: 7.684 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5148, allocations: 11.94 kB / 0.7791 GB, free: 7.672 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5148, allocations: 0 / 0.7791 GB, free: 7.672 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.5148, allocations: 0 / 0.7791 GB, free: 7.672 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001527/0.5163, allocations: 0.9687 MB / 0.7801 GB, free: 6.652 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5164, allocations: 8.031 kB / 0.7801 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.5176, allocations: 204.3 kB / 0.7803 GB, free: 6.445 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009049/0.5185, allocations: 0.5494 MB / 0.7808 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.5186, allocations: 41.3 kB / 0.7809 GB, free: 5.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.211e-05/0.5187, allocations: 44.36 kB / 0.7809 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.5199, allocations: 0.8487 MB / 0.7817 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.5199, allocations: 19.89 kB / 0.7818 GB, free: 4.781 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.372e-05/0.52, allocations: 23.98 kB / 0.7818 GB, free: 4.758 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.389e-05/0.5201, allocations: 60.95 kB / 0.7818 GB, free: 4.695 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008807/0.5209, allocations: 0.5695 MB / 0.7824 GB, free: 4.125 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005063/0.526, allocations: 5.643 MB / 0.7879 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006548/0.5267, allocations: 425.1 kB / 0.7883 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.527, allocations: 208.7 kB / 0.7885 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.527, allocations: 0 / 0.7885 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.527, allocations: 38.56 kB / 0.7885 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.527, allocations: 4 kB / 0.7885 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002711/0.5298, allocations: 1.514 MB / 0.79 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.5298, allocations: 55.69 kB / 0.7901 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.5304, allocations: 0.4952 MB / 0.7906 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.5304, allocations: 29.7 kB / 0.7906 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.5307, allocations: 375.7 kB / 0.7909 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.5308, allocations: 126.9 kB / 0.7911 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.531, allocations: 114.2 kB / 0.7912 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.5312, allocations: 362.8 kB / 0.7915 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.5315, allocations: 201.1 kB / 0.7917 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005109/0.532, allocations: 447 kB / 0.7921 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008757/0.5329, allocations: 0.6915 MB / 0.7928 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.5329, allocations: 0 / 0.7928 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001342/0.5342, allocations: 0.81 MB / 0.7936 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.5342, allocations: 11.94 kB / 0.7936 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.5342, allocations: 11.98 kB / 0.7936 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005244/0.5348, allocations: 152.2 kB / 0.7938 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.5352, allocations: 119.8 kB / 0.7939 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003831/0.5391, allocations: 4.348 MB / 0.7981 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004083/0.5395, allocations: 39.97 kB / 0.7982 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-05/0.5395, allocations: 27.98 kB / 0.7982 GB, free: 2.66 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002941/0.5398, allocations: 212.8 kB / 0.7984 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.5399, allocations: 67.58 kB / 0.7985 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.541, allocations: 0.6047 MB / 0.7991 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.541, allocations: 4 kB / 0.7991 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.541, allocations: 7.938 kB / 0.7991 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.5411, allocations: 3.984 kB / 0.7991 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.543, allocations: 1.257 MB / 0.8003 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.543, allocations: 0 / 0.8003 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.5433, allocations: 63.88 kB / 0.8004 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004171/0.5437, allocations: 136.4 kB / 0.8005 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.5438, allocations: 11.94 kB / 0.8005 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003717/0.5475, allocations: 4.344 MB / 0.8047 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5475, allocations: 0 / 0.8047 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.5485, allocations: 0.7163 MB / 0.8054 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.5488, allocations: 172.6 kB / 0.8056 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.5489, allocations: 8 kB / 0.8056 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.5491, allocations: 23.97 kB / 0.8056 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.5492, allocations: 31.84 kB / 0.8057 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.5492, allocations: 19.98 kB / 0.8057 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003911/0.5496, allocations: 338.8 kB / 0.806 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5496, allocations: 0 / 0.806 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006375/0.5502, allocations: 140 kB / 0.8061 GB, free: 9.895 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001456/0.5504, allocations: 115.2 kB / 0.8063 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001455/0.5518, allocations: 1.005 MB / 0.8072 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5519, allocations: 0 / 0.8072 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000884/0.5527, allocations: 0.7229 MB / 0.8079 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009778/0.5537, allocations: 195.7 kB / 0.8081 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.5553, allocations: 1.061 MB / 0.8092 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.5559, allocations: 0.9137 MB / 0.8101 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003098/0.5562, allocations: 117.3 kB / 0.8102 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.517e-05/0.5563, allocations: 39.44 kB / 0.8102 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of SimCode: time 8.01e-07/0.5563, allocations: 0 / 0.8102 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of Templates: time 0.01528/0.5716, allocations: 7.755 MB / 0.8178 GB, free: 13.84 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)