Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001032/0.001032, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002115/0.002116, allocations: 283.9 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8973/0.8973, allocations: 169.2 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 94.11 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1613, allocations: 86.98 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.2593/0.4207, allocations: 15.98 MB / 0.6972 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006847/0.4276, allocations: 4.824 MB / 0.7019 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.4289, allocations: 64.78 kB / 0.702 GB, free: 8.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002802/0.4317, allocations: 1.049 MB / 0.703 GB, free: 7.637 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.4338, allocations: 0.7415 MB / 0.7038 GB, free: 7.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.4362, allocations: 0.9122 MB / 0.7046 GB, free: 6.688 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004603/0.4408, allocations: 3.618 MB / 0.7082 GB, free: 5.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006735/0.4476, allocations: 4.77 MB / 0.7128 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00263/0.4502, allocations: 1.584 MB / 0.7144 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002808/0.453, allocations: 1.778 MB / 0.7161 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.4541, allocations: 339.1 kB / 0.7164 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.4563, allocations: 0.7981 MB / 0.7172 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001976/0.4583, allocations: 1.323 MB / 0.7185 GB, free: 1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001654/0.46, allocations: 1.459 MB / 0.7199 GB, free: 52 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004867/0.4648, allocations: 5.13 MB / 0.7249 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4649, allocations: 0 / 0.7249 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4649, allocations: 1.031 kB / 0.7249 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.215e-05/0.4649, allocations: 0 / 0.7249 GB, free: 13.41 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004567/0.4695, allocations: 2.658 MB / 0.7275 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.4696, allocations: 8.312 kB / 0.7276 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003797/0.4734, allocations: 0.8304 MB / 0.7284 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/0.4767, allocations: 1.571 MB / 0.7299 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.4768, allocations: 176 kB / 0.7301 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003988/0.4772, allocations: 234.1 kB / 0.7303 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006349/0.4836, allocations: 4.161 MB / 0.7344 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.935e-05/0.4836, allocations: 10.52 kB / 0.7344 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002547/0.4839, allocations: 102.5 kB / 0.7345 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001696/0.4841, allocations: 172.8 kB / 0.7346 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005185/0.4893, allocations: 3.627 MB / 0.7382 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01692/0.5062, allocations: 16.42 MB / 0.7542 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/0.5093, allocations: 2.288 MB / 0.7564 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007909/0.5101, allocations: 0.5749 MB / 0.757 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.5103, allocations: 97.64 kB / 0.7571 GB, free: 460 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.5103, allocations: 43.12 kB / 0.7571 GB, free: 404 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=72): time 2.455e-06/0.5103, allocations: 0 / 0.7571 GB, free: 404 kB / 0.5137 GB Notification: Performance of matching and sorting (n=76): time 0.005092/0.5154, allocations: 3.432 MB / 0.7605 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.5155, allocations: 115.4 kB / 0.7606 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.5167, allocations: 1.014 MB / 0.7616 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.433e-05/0.5168, allocations: 41.7 kB / 0.7616 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005879/0.5174, allocations: 1.095 MB / 0.7627 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.5176, allocations: 276.2 kB / 0.763 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003628/0.5179, allocations: 283.2 kB / 0.7632 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.5181, allocations: 410.7 kB / 0.7636 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008368/0.519, allocations: 0.6167 MB / 0.7642 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.5202, allocations: 1.185 MB / 0.7654 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.5222, allocations: 1.86 MB / 0.7672 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.5222, allocations: 8 kB / 0.7672 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002824/0.525, allocations: 2.022 MB / 0.7692 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.525, allocations: 16 kB / 0.7692 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.5251, allocations: 16 kB / 0.7692 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/0.5254, allocations: 163.3 kB / 0.7694 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.5265, allocations: 347.4 kB / 0.7697 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.707e-05/0.5265, allocations: 43.98 kB / 0.7697 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008753/0.5274, allocations: 127.7 kB / 0.7699 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-05/0.5275, allocations: 71.98 kB / 0.7699 GB, free: 2.539 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001302/0.5288, allocations: 0.9752 MB / 0.7709 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.529, allocations: 106.7 kB / 0.771 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/0.5309, allocations: 1.23 MB / 0.7722 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.5309, allocations: 11.94 kB / 0.7722 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.5309, allocations: 4 kB / 0.7722 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.5309, allocations: 3.984 kB / 0.7722 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005182/0.5361, allocations: 3.802 MB / 0.7759 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.5361, allocations: 4 kB / 0.7759 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005675/0.5367, allocations: 155.8 kB / 0.7761 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003104/0.537, allocations: 139.3 kB / 0.7762 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.468e-05/0.5371, allocations: 23.94 kB / 0.7762 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.5371, allocations: 7.938 kB / 0.7762 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5371, allocations: 8.094 kB / 0.7762 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.5388, allocations: 1.469 MB / 0.7777 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004461/0.5393, allocations: 267.8 kB / 0.7779 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.5394, allocations: 16 kB / 0.7779 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005369/0.54, allocations: 67.91 kB / 0.778 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.5401, allocations: 64.5 kB / 0.7781 GB, free: 9.934 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.5402, allocations: 23.94 kB / 0.7781 GB, free: 9.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007817/0.5409, allocations: 0.6992 MB / 0.7788 GB, free: 9.199 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5409, allocations: 0 / 0.7788 GB, free: 9.199 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001257/0.5422, allocations: 388.1 kB / 0.7791 GB, free: 8.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001801/0.5424, allocations: 131.1 kB / 0.7793 GB, free: 8.684 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.5444, allocations: 1.718 MB / 0.7809 GB, free: 6.887 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.5444, allocations: 4 kB / 0.781 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000868/0.5453, allocations: 0.8517 MB / 0.7818 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.5466, allocations: 268.2 kB / 0.782 GB, free: 5.684 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/0.5516, allocations: 3.772 MB / 0.7857 GB, free: 1.852 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/0.5531, allocations: 1.916 MB / 0.7876 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009042/0.554, allocations: 449.6 kB / 0.788 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.5543, allocations: 87.36 kB / 0.7881 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.5543, allocations: 0 / 0.7881 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of Templates: time 0.02254/0.5768, allocations: 13.29 MB / 0.8011 GB, free: 2.23 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)