Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009687/0.0009688, allocations: 206.5 kB / 16.79 MB, free: 6.84 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.239/1.239, allocations: 222.9 MB / 240.5 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6655/0.6655, allocations: 115.3 MB / 405.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.3 kB / 493 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1285, allocations: 76.19 MB / 0.5559 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01745/0.146, allocations: 15.88 MB / 0.5714 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006652/0.1527, allocations: 4.824 MB / 0.5761 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000866/0.1536, allocations: 59.69 kB / 0.5761 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.1557, allocations: 0.972 MB / 0.5771 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.1571, allocations: 0.6963 MB / 0.5778 GB, free: 4.258 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.1589, allocations: 0.8411 MB / 0.5786 GB, free: 3.418 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2309/0.3898, allocations: 5.248 MB / 0.5837 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008345/0.3981, allocations: 5.423 MB / 0.589 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.4006, allocations: 1.333 MB / 0.5903 GB, free: 14.33 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002587/0.4032, allocations: 1.815 MB / 0.5921 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000485/0.4037, allocations: 241.2 kB / 0.5923 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.4054, allocations: 0.8283 MB / 0.5931 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001694/0.4071, allocations: 1.225 MB / 0.5943 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.4085, allocations: 1.341 MB / 0.5956 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005436/0.414, allocations: 5.055 MB / 0.6006 GB, free: 13.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.414, allocations: 0 / 0.6006 GB, free: 13.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.414, allocations: 1.188 kB / 0.6006 GB, free: 13.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000119/0.4141, allocations: 0 / 0.6006 GB, free: 13.03 MB / 446.1 MB 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.006567/0.4207, allocations: 2.65 MB / 0.6032 GB, free: 11.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4208, allocations: 9.688 kB / 0.6032 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004751/0.4212, allocations: 374.2 kB / 0.6035 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003701/0.4249, allocations: 0.8365 MB / 0.6043 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.4271, allocations: 1.5 MB / 0.6058 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.4272, allocations: 179.6 kB / 0.606 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003573/0.4276, allocations: 228.3 kB / 0.6062 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005745/0.4333, allocations: 4.16 MB / 0.6103 GB, free: 8.016 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.404e-05/0.4334, allocations: 4.031 kB / 0.6103 GB, free: 8.016 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/0.4337, allocations: 104 kB / 0.6104 GB, free: 7.941 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/0.4339, allocations: 164.9 kB / 0.6105 GB, free: 7.902 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004687/0.4386, allocations: 3.64 MB / 0.6141 GB, free: 6.074 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01416/0.4527, allocations: 16.55 MB / 0.6302 GB, free: 7.668 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/0.4557, allocations: 2.292 MB / 0.6325 GB, free: 5.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007554/0.4565, allocations: 0.5767 MB / 0.633 GB, free: 4.758 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.4566, allocations: 93.66 kB / 0.6331 GB, free: 4.648 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.4566, allocations: 42.88 kB / 0.6332 GB, free: 4.602 MB / 462.1 MB Notification: Performance of pre-optimization done (n=72): time 2.465e-06/0.4567, allocations: 0 / 0.6332 GB, free: 4.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.005056/0.4617, allocations: 3.427 MB / 0.6365 GB, free: 1.082 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.4618, allocations: 122.9 kB / 0.6366 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.463, allocations: 1.015 MB / 0.6376 GB, free: 15.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.041e-05/0.463, allocations: 37.7 kB / 0.6377 GB, free: 15.86 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006347/0.4637, allocations: 1.102 MB / 0.6387 GB, free: 14.74 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.4639, allocations: 278.8 kB / 0.639 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003884/0.4643, allocations: 279.2 kB / 0.6393 GB, free: 14.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.4645, allocations: 410.7 kB / 0.6397 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008328/0.4653, allocations: 0.6246 MB / 0.6403 GB, free: 13.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.4665, allocations: 1.183 MB / 0.6414 GB, free: 11.73 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.4685, allocations: 1.866 MB / 0.6432 GB, free: 9.672 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.4686, allocations: 8 kB / 0.6432 GB, free: 9.664 MB / 478.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002763/0.4713, allocations: 2.016 MB / 0.6452 GB, free: 7.742 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.4714, allocations: 12 kB / 0.6452 GB, free: 7.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.4714, allocations: 20 kB / 0.6452 GB, free: 7.711 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003966/0.4718, allocations: 162.5 kB / 0.6454 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.4728, allocations: 344.6 kB / 0.6457 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.247e-05/0.4729, allocations: 42.86 kB / 0.6458 GB, free: 7.195 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008469/0.4737, allocations: 131.7 kB / 0.6459 GB, free: 7.066 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.4738, allocations: 68 kB / 0.646 GB, free: 7 MB / 478.1 MB 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.001492/0.4753, allocations: 0.9806 MB / 0.6469 GB, free: 6.012 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.4755, allocations: 106.7 kB / 0.647 GB, free: 5.906 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.4774, allocations: 1.23 MB / 0.6482 GB, free: 4.652 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4774, allocations: 11.94 kB / 0.6482 GB, free: 4.641 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.4774, allocations: 4 kB / 0.6482 GB, free: 4.637 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.4774, allocations: 3.984 kB / 0.6482 GB, free: 4.633 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005134/0.4826, allocations: 3.807 MB / 0.652 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.4826, allocations: 4.25 kB / 0.652 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005566/0.4832, allocations: 171.7 kB / 0.6521 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000335/0.4835, allocations: 139.3 kB / 0.6523 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.4836, allocations: 12 kB / 0.6523 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/0.4836, allocations: 15.88 kB / 0.6523 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.4836, allocations: 0 / 0.6523 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.4854, allocations: 1.477 MB / 0.6537 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/0.4858, allocations: 263.8 kB / 0.654 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.4859, allocations: 20 kB / 0.654 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005309/0.4864, allocations: 75.89 kB / 0.6541 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.4866, allocations: 56.42 kB / 0.6541 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.222e-05/0.4866, allocations: 23.84 kB / 0.6541 GB, free: 14.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008452/0.4875, allocations: 0.6953 MB / 0.6548 GB, free: 13.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4875, allocations: 0 / 0.6548 GB, free: 13.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001426/0.4889, allocations: 396 kB / 0.6552 GB, free: 13.29 MB / 494.1 MB 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.002125/0.491, allocations: 2.036 MB / 0.6572 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002182/0.4932, allocations: 1.707 MB / 0.6589 GB, free: 9.391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4932, allocations: 0 / 0.6589 GB, free: 9.391 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008973/0.4941, allocations: 0.858 MB / 0.6597 GB, free: 8.445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.4954, allocations: 247.8 kB / 0.6599 GB, free: 8.199 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/0.5144, allocations: 14.3 MB / 0.6739 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001719/0.5162, allocations: 1.916 MB / 0.6758 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001114/0.5173, allocations: 457.6 kB / 0.6762 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008117/0.5181, allocations: 0.7102 MB / 0.6769 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.5181, allocations: 0 / 0.6769 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04247/0.5606, allocations: 26.73 MB / 0.703 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.5608, allocations: 239.8 kB / 0.7032 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.555, allocations: 0 / 0.7032 GB, free: 11.37 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)