Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.Conversion.Examples.Converter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",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.001215/0.001215, allocations: 103.4 kB / 15.98 MB, free: 6.344 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.001234/0.001234, allocations: 195 kB / 16.91 MB, free: 6.188 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.185/1.185, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6542/0.6542, allocations: 115.3 MB / 406.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 67.89 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2898, allocations: 76.17 MB / 0.556 GB, free: 36.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01564/0.3055, allocations: 16.29 MB / 0.5719 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007562/0.3131, allocations: 5.666 MB / 0.5775 GB, free: 21.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007972/0.3139, allocations: 35.56 kB / 0.5775 GB, free: 21.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.317, allocations: 1.461 MB / 0.5789 GB, free: 21.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.3187, allocations: 0.7565 MB / 0.5797 GB, free: 20.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.321, allocations: 0.9609 MB / 0.5806 GB, free: 20.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003509/0.3245, allocations: 3.914 MB / 0.5844 GB, free: 18.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007321/0.3318, allocations: 6.848 MB / 0.5911 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.3341, allocations: 1.758 MB / 0.5928 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.336, allocations: 2.211 MB / 0.595 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000333/0.3364, allocations: 419.9 kB / 0.5954 GB, free: 12.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.3378, allocations: 1.069 MB / 0.5964 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009494/0.3387, allocations: 1.657 MB / 0.5981 GB, free: 9.492 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.3398, allocations: 1.607 MB / 0.5996 GB, free: 7.879 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003138/0.3429, allocations: 6.073 MB / 0.6056 GB, free: 1.789 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3429, allocations: 0 / 0.6056 GB, free: 1.789 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3429, allocations: 0 / 0.6056 GB, free: 1.789 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.405e-05/0.343, allocations: 0 / 0.6056 GB, free: 1.789 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: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.003798/0.3468, allocations: 2.767 MB / 0.6083 GB, free: 14.96 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.3468, allocations: 12.03 kB / 0.6083 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004735/0.3473, allocations: 436.9 kB / 0.6087 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002856/0.3502, allocations: 0.6612 MB / 0.6093 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.3523, allocations: 1.423 MB / 0.6107 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.3524, allocations: 214 kB / 0.6109 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003648/0.3528, allocations: 268.4 kB / 0.6112 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006323/0.3591, allocations: 4.715 MB / 0.6158 GB, free: 7.105 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.626e-05/0.3592, allocations: 0 / 0.6158 GB, free: 7.105 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/0.3595, allocations: 116 kB / 0.6159 GB, free: 6.992 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/0.3596, allocations: 152.6 kB / 0.6161 GB, free: 6.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00548/0.3651, allocations: 4.085 MB / 0.62 GB, free: 2.738 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01933/0.3845, allocations: 20.29 MB / 0.6399 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.3873, allocations: 1.89 MB / 0.6417 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009522/0.3883, allocations: 0.7548 MB / 0.6424 GB, free: 9.672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.3884, allocations: 113.7 kB / 0.6425 GB, free: 9.539 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.3884, allocations: 43.16 kB / 0.6426 GB, free: 9.488 MB / 494.1 MB Notification: Performance of pre-optimization done (n=77): time 2.705e-06/0.3885, allocations: 0 / 0.6426 GB, free: 9.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=92): time 0.01634/0.4048, allocations: 5.193 MB / 0.6477 GB, free: 4.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.4049, allocations: 137.5 kB / 0.6478 GB, free: 4.113 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.4059, allocations: 0.9723 MB / 0.6487 GB, free: 3.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.884e-05/0.406, allocations: 41.7 kB / 0.6488 GB, free: 3.086 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005733/0.4066, allocations: 1.184 MB / 0.6499 GB, free: 1.883 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002451/0.4068, allocations: 335.3 kB / 0.6503 GB, free: 1.551 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004603/0.4073, allocations: 355.1 kB / 0.6506 GB, free: 1.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.4074, allocations: 334 kB / 0.6509 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.4085, allocations: 0.8792 MB / 0.6518 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.4101, allocations: 1.51 MB / 0.6532 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002793/0.4129, allocations: 2.45 MB / 0.6556 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.4129, allocations: 8 kB / 0.6556 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003532/0.4164, allocations: 2.504 MB / 0.6581 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.4165, allocations: 12 kB / 0.6581 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/0.4165, allocations: 32.03 kB / 0.6581 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.518e-05/0.4165, allocations: 28 kB / 0.6582 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/0.4188, allocations: 0.5148 MB / 0.6587 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-05/0.4188, allocations: 39.86 kB / 0.6587 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.4199, allocations: 163.5 kB / 0.6589 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.42, allocations: 83.98 kB / 0.6589 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002457/0.4225, allocations: 1.901 MB / 0.6608 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001552/0.424, allocations: 1.506 MB / 0.6623 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002704/0.4267, allocations: 2.426 MB / 0.6646 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.436e-05/0.4268, allocations: 11.94 kB / 0.6646 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003424/0.4302, allocations: 2.485 MB / 0.6671 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.4302, allocations: 14.5 kB / 0.6671 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/0.4303, allocations: 31.92 kB / 0.6671 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.4303, allocations: 28 kB / 0.6671 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/0.4325, allocations: 0.5186 MB / 0.6677 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.01e-05/0.4325, allocations: 43.86 kB / 0.6677 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009987/0.4335, allocations: 151.6 kB / 0.6678 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.4337, allocations: 87.98 kB / 0.6679 GB, free: 14.25 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003404/0.434, allocations: 287.6 kB / 0.6682 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.4343, allocations: 90.97 kB / 0.6683 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/0.4369, allocations: 1.84 MB / 0.6701 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.4369, allocations: 8 kB / 0.6701 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4369, allocations: 4 kB / 0.6701 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.4369, allocations: 3.984 kB / 0.6701 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.4471, allocations: 9.061 MB / 0.6789 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/0.4471, allocations: 12 kB / 0.679 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009936/0.4481, allocations: 243.6 kB / 0.6792 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.809e-05/0.4481, allocations: 19.98 kB / 0.6792 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.569e-05/0.4482, allocations: 28 kB / 0.6792 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.648e-05/0.4482, allocations: 19.94 kB / 0.6793 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.771e-05/0.4483, allocations: 23.81 kB / 0.6793 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.45, allocations: 1.763 MB / 0.681 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004256/0.4505, allocations: 288 kB / 0.6813 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.4506, allocations: 31.98 kB / 0.6813 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006983/0.4513, allocations: 71.91 kB / 0.6814 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.4515, allocations: 95.55 kB / 0.6815 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.815e-05/0.4515, allocations: 36 kB / 0.6815 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008378/0.4524, allocations: 0.7293 MB / 0.6822 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4524, allocations: 0 / 0.6822 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003107/0.4555, allocations: 0.8086 MB / 0.683 GB, free: 13.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002162/0.4577, allocations: 2.377 MB / 0.6853 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004105/0.4618, allocations: 3.123 MB / 0.6884 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.4618, allocations: 4 kB / 0.6884 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006916/0.4625, allocations: 0.5806 MB / 0.6889 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.4638, allocations: 179.8 kB / 0.6891 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/0.4835, allocations: 16.23 MB / 0.705 GB, free: 5.922 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002043/0.4855, allocations: 2.112 MB / 0.707 GB, free: 3.773 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002357/0.4879, allocations: 1.016 MB / 0.708 GB, free: 2.754 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009258/0.4888, allocations: 0.757 MB / 0.7088 GB, free: 1.996 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.4889, allocations: 0 / 0.7088 GB, free: 1.996 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.003/1.492, allocations: 29.06 MB / 0.7371 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/1.492, allocations: 222.1 kB / 0.7373 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.942, allocations: 4 kB / 0.7373 GB, free: 4.973 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)