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.004789/0.004789, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001158/0.001158, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002194/0.002194, allocations: 286.8 kB / 290.8 MB, free: 1.773 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9431/0.9431, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 96.22 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1493, allocations: 86.97 MB / 0.7664 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006198/0.1556, allocations: 4.896 MB / 0.7711 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003965/0.1596, allocations: 2.479 MB / 0.7736 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005832/0.1602, allocations: 27.75 kB / 0.7736 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.1616, allocations: 401.5 kB / 0.774 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.1631, allocations: 469.6 kB / 0.7744 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3411/0.5042, allocations: 393.8 kB / 0.7748 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001395/0.5056, allocations: 0.9315 MB / 0.7757 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005516/0.5062, allocations: 357.9 kB / 0.7761 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004641/0.5066, allocations: 343.7 kB / 0.7764 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004894/0.5071, allocations: 348.6 kB / 0.7767 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.877e-05/0.5072, allocations: 38.34 kB / 0.7768 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000839/0.5081, allocations: 408.6 kB / 0.7771 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.5083, allocations: 177.7 kB / 0.7773 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000331/0.5086, allocations: 324.4 kB / 0.7776 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.5098, allocations: 0.8781 MB / 0.7785 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5099, allocations: 1.625 kB / 0.7785 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5099, allocations: 0.625 kB / 0.7785 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.5099, allocations: 0 / 0.7785 GB, free: 8.785 MB / 0.5606 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.001342/0.5112, allocations: 0.961 MB / 0.7794 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.5113, allocations: 10.12 kB / 0.7794 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.5125, allocations: 200.5 kB / 0.7796 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000714/0.5133, allocations: 0.5541 MB / 0.7802 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.5133, allocations: 34.39 kB / 0.7802 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.5134, allocations: 46.98 kB / 0.7802 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.5144, allocations: 0.8408 MB / 0.7811 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.5144, allocations: 13.06 kB / 0.7811 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.829e-05/0.5145, allocations: 22.75 kB / 0.7811 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.5146, allocations: 68.16 kB / 0.7812 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008528/0.5155, allocations: 0.5666 MB / 0.7817 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.5191, allocations: 5.642 MB / 0.7872 GB, free: 18.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/0.5198, allocations: 457.5 kB / 0.7877 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.5201, allocations: 232 kB / 0.7879 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.5201, allocations: 3.688 kB / 0.7879 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.5201, allocations: 40.88 kB / 0.7879 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 1.944e-06/0.5201, allocations: 4.375 kB / 0.7879 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002362/0.5225, allocations: 1.505 MB / 0.7894 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.5225, allocations: 54.31 kB / 0.7894 GB, free: 17.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/0.523, allocations: 0.4996 MB / 0.7899 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.5231, allocations: 37.7 kB / 0.79 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.5233, allocations: 356.2 kB / 0.7903 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.5233, allocations: 123.4 kB / 0.7904 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.5235, allocations: 109.1 kB / 0.7905 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5236, allocations: 365.6 kB / 0.7909 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.5239, allocations: 192.8 kB / 0.7911 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.5242, allocations: 453.2 kB / 0.7915 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006584/0.5249, allocations: 0.6957 MB / 0.7922 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.5249, allocations: 2.688 kB / 0.7922 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00113/0.526, allocations: 0.8102 MB / 0.793 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.5261, allocations: 13.94 kB / 0.793 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.5261, allocations: 5.219 kB / 0.793 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004705/0.5266, allocations: 153.9 kB / 0.7931 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/0.527, allocations: 130.2 kB / 0.7933 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/0.53, allocations: 4.341 MB / 0.7975 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.5304, allocations: 31.28 kB / 0.7975 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.5305, allocations: 27.53 kB / 0.7976 GB, free: 10.69 MB / 0.5762 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.0002828/0.5308, allocations: 226.7 kB / 0.7978 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.5309, allocations: 60.19 kB / 0.7978 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00097/0.5318, allocations: 0.5949 MB / 0.7984 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5319, allocations: 4.531 kB / 0.7984 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5319, allocations: 1.312 kB / 0.7984 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5319, allocations: 9.25 kB / 0.7984 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.5337, allocations: 1.26 MB / 0.7997 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5337, allocations: 1.25 kB / 0.7997 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.534, allocations: 59.77 kB / 0.7997 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003905/0.5344, allocations: 143.1 kB / 0.7998 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.5344, allocations: 15.31 kB / 0.7999 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003142/0.5376, allocations: 4.336 MB / 0.8041 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5376, allocations: 3.344 kB / 0.8041 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.5387, allocations: 0.7109 MB / 0.8048 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002428/0.5389, allocations: 168.7 kB / 0.805 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.539, allocations: 9.062 kB / 0.805 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.5393, allocations: 27.88 kB / 0.805 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.5394, allocations: 35.48 kB / 0.805 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.5394, allocations: 7.219 kB / 0.805 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004531/0.5399, allocations: 339.8 kB / 0.8054 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5399, allocations: 0 / 0.8054 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006998/0.5406, allocations: 143.8 kB / 0.8055 GB, free: 4.402 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.000157/0.5408, allocations: 112.1 kB / 0.8056 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001572/0.5423, allocations: 1.04 MB / 0.8066 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.5423, allocations: 1.438 kB / 0.8066 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009123/0.5433, allocations: 0.7309 MB / 0.8073 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.5444, allocations: 208.3 kB / 0.8075 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.5465, allocations: 1.042 MB / 0.8085 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.5471, allocations: 0.9095 MB / 0.8094 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004774/0.5476, allocations: 122.6 kB / 0.8095 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.5478, allocations: 43.97 kB / 0.8096 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.5478, allocations: 0.5625 kB / 0.8096 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of Templates: time 0.01644/0.5642, allocations: 7.704 MB / 0.8171 GB, free: 0.7578 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)