Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009372/0.0009371, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005481/0.005481, allocations: 169.7 kB / 16.27 MB, free: 6.648 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.264/1.264, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001684/0.001684, allocations: 274.9 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8842/0.8842, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004287, allocations: 13.56 kB / 0.5988 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1618, allocations: 88.54 MB / 0.6852 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01698/0.1788, allocations: 15.74 MB / 0.7006 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007845/0.1866, allocations: 5.678 MB / 0.7062 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000593/0.1873, allocations: 39.88 kB / 0.7062 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005929/0.1879, allocations: 290.5 kB / 0.7065 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.1892, allocations: 0.7757 MB / 0.7072 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.1907, allocations: 0.777 MB / 0.708 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004968/0.1957, allocations: 6.04 MB / 0.7139 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008915/0.2046, allocations: 6.776 MB / 0.7205 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.2068, allocations: 1.175 MB / 0.7217 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002147/0.2089, allocations: 1.788 MB / 0.7234 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002564/0.2092, allocations: 187.9 kB / 0.7236 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.2108, allocations: 0.9906 MB / 0.7245 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.212, allocations: 1.364 MB / 0.7259 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.2131, allocations: 1.281 MB / 0.7271 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004384/0.2175, allocations: 5.779 MB / 0.7328 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2175, allocations: 0 / 0.7328 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2176, allocations: 0 / 0.7328 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.143e-05/0.2176, allocations: 4 kB / 0.7328 GB, free: 14.07 MB / 0.5294 GB 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.003742/0.2214, allocations: 2.228 MB / 0.735 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.2214, allocations: 8.031 kB / 0.735 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005097/0.2219, allocations: 424.9 kB / 0.7354 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002976/0.2249, allocations: 0.6691 MB / 0.736 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.2269, allocations: 1.419 MB / 0.7374 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.227, allocations: 214 kB / 0.7376 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004037/0.2274, allocations: 272.4 kB / 0.7379 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006566/0.234, allocations: 4.719 MB / 0.7425 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.698e-05/0.2341, allocations: 0 / 0.7425 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/0.2344, allocations: 112 kB / 0.7426 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/0.2345, allocations: 144.6 kB / 0.7427 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005709/0.2402, allocations: 4.09 MB / 0.7467 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01897/0.2592, allocations: 20.31 MB / 0.7666 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003184/0.2624, allocations: 1.891 MB / 0.7684 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.2635, allocations: 0.7548 MB / 0.7691 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.2636, allocations: 101.7 kB / 0.7692 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.2637, allocations: 43.22 kB / 0.7693 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=77): time 2.344e-06/0.2637, allocations: 3.938 kB / 0.7693 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92): time 0.01749/0.2812, allocations: 5.283 MB / 0.7744 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.2813, allocations: 149.4 kB / 0.7746 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2679/0.5492, allocations: 0.9603 MB / 0.7755 GB, free: 87.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002077/0.5495, allocations: 40.89 kB / 0.7756 GB, free: 87.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007581/0.5502, allocations: 1.188 MB / 0.7767 GB, free: 86.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/0.5505, allocations: 328.3 kB / 0.777 GB, free: 86.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.5507, allocations: 138 kB / 0.7772 GB, free: 86.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.5508, allocations: 334.8 kB / 0.7775 GB, free: 86.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.5523, allocations: 0.8653 MB / 0.7783 GB, free: 86.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.554, allocations: 1.509 MB / 0.7798 GB, free: 85.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002786/0.5568, allocations: 2.46 MB / 0.7822 GB, free: 84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.5568, allocations: 5.875 kB / 0.7822 GB, free: 84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003484/0.5603, allocations: 2.511 MB / 0.7847 GB, free: 83.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000307/0.5606, allocations: 0.7045 MB / 0.7853 GB, free: 82.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.5606, allocations: 21.88 kB / 0.7854 GB, free: 82.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.678e-05/0.5607, allocations: 31.09 kB / 0.7854 GB, free: 82.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/0.563, allocations: 0.5245 MB / 0.7859 GB, free: 82.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.202e-05/0.563, allocations: 45.73 kB / 0.786 GB, free: 82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.564, allocations: 156 kB / 0.7861 GB, free: 81.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.5642, allocations: 90.59 kB / 0.7862 GB, free: 81.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/0.5642, allocations: 6.438 kB / 0.7862 GB, free: 81.95 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00279/0.567, allocations: 2.387 MB / 0.7885 GB, free: 81.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.567, allocations: 21.88 kB / 0.7885 GB, free: 81.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.567, allocations: 31.31 kB / 0.7886 GB, free: 81.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/0.5693, allocations: 0.5097 MB / 0.7891 GB, free: 80.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.584e-05/0.5693, allocations: 43.47 kB / 0.7891 GB, free: 80.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00089/0.5702, allocations: 140.7 kB / 0.7892 GB, free: 80.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.5703, allocations: 85.7 kB / 0.7893 GB, free: 80.91 MB / 0.5606 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.001751/0.5721, allocations: 1.224 MB / 0.7905 GB, free: 80.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.5723, allocations: 100 kB / 0.7906 GB, free: 80.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/0.575, allocations: 1.83 MB / 0.7924 GB, free: 79.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.575, allocations: 10.91 kB / 0.7924 GB, free: 79.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5751, allocations: 3.938 kB / 0.7924 GB, free: 79.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.5751, allocations: 5.297 kB / 0.7924 GB, free: 79.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008938/0.584, allocations: 9.051 MB / 0.8013 GB, free: 72.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/0.584, allocations: 14.84 kB / 0.8013 GB, free: 72.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.5852, allocations: 251.9 kB / 0.8015 GB, free: 72.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.22e-05/0.5852, allocations: 15.06 kB / 0.8015 GB, free: 72.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.06e-05/0.5853, allocations: 27.81 kB / 0.8016 GB, free: 72.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-05/0.5853, allocations: 26.08 kB / 0.8016 GB, free: 72.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.762e-05/0.5854, allocations: 19.88 kB / 0.8016 GB, free: 72.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.5872, allocations: 1.768 MB / 0.8033 GB, free: 71.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.5876, allocations: 328.2 kB / 0.8036 GB, free: 71.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.5877, allocations: 27.69 kB / 0.8037 GB, free: 71.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006814/0.5884, allocations: 76.94 kB / 0.8037 GB, free: 71.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.5885, allocations: 92.75 kB / 0.8038 GB, free: 71.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.243e-05/0.5886, allocations: 38.94 kB / 0.8039 GB, free: 71.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008536/0.5894, allocations: 0.7258 MB / 0.8046 GB, free: 71.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5895, allocations: 0 / 0.8046 GB, free: 71.01 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002868/0.5923, allocations: 0.8068 MB / 0.8054 GB, free: 70.95 MB / 0.5606 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.001869/0.5942, allocations: 2.376 MB / 0.8077 GB, free: 69.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003908/0.5981, allocations: 2.972 MB / 0.8106 GB, free: 68.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.5981, allocations: 4.625 kB / 0.8106 GB, free: 68.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006805/0.5988, allocations: 0.5771 MB / 0.8112 GB, free: 67.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.601, allocations: 176.5 kB / 0.8113 GB, free: 67.85 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.6174, allocations: 16.24 MB / 0.8272 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/0.619, allocations: 2.101 MB / 0.8292 GB, free: 53.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002188/0.6212, allocations: 1.024 MB / 0.8302 GB, free: 52.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000768/0.622, allocations: 0.7609 MB / 0.831 GB, free: 52.19 MB / 0.5606 GB Notification: Performance of SimCode: time 1.263e-06/0.622, allocations: 3.938 kB / 0.831 GB, free: 52.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6002/1.222, allocations: 28.23 MB / 0.8585 GB, free: 24.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/1.222, allocations: 250.3 kB / 0.8588 GB, free: 24.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/3.351, allocations: 1.375 kB / 0.8588 GB, free: 24.04 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)