Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_latest_Buildings_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.0009149/0.0009149, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001023/0.001023, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.507/2.507, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003963, allocations: 11.98 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.78/0.7804, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.0176/0.7981, allocations: 14.92 MB / 0.9957 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009841/0.808, allocations: 5.372 MB / 1.001 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.8094, allocations: 39.88 kB / 1.001 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.8106, allocations: 289.9 kB / 1.001 GB, free: 1.586 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.8128, allocations: 0.6303 MB / 1.002 GB, free: 0.9531 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.8158, allocations: 0.6068 MB / 1.002 GB, free: 356 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005743/0.8215, allocations: 4.576 MB / 1.007 GB, free: 11.76 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01065/0.8322, allocations: 5.891 MB / 1.013 GB, free: 5.809 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.8348, allocations: 1.203 MB / 1.014 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003406/0.8383, allocations: 1.761 MB / 1.016 GB, free: 2.836 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0008031/0.8391, allocations: 180 kB / 1.016 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.8413, allocations: 0.5892 MB / 1.016 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.002453/0.8438, allocations: 1.36 MB / 1.018 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.845, allocations: 0.52 MB / 1.018 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005662/0.8506, allocations: 5.087 MB / 1.023 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.8507, allocations: 3.938 kB / 1.023 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.916e-06/0.8507, allocations: 0 / 1.023 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001967/0.8509, allocations: 0 / 1.023 GB, free: 11.08 MB / 0.7794 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.006324/0.8572, allocations: 2.244 MB / 1.025 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.8573, allocations: 15.91 kB / 1.025 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001393/0.8587, allocations: 420.8 kB / 1.026 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003614/0.8623, allocations: 0.6683 MB / 1.026 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.8649, allocations: 1.41 MB / 1.028 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.865, allocations: 201.6 kB / 1.028 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004296/0.8655, allocations: 272 kB / 1.028 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007936/0.8734, allocations: 4.699 MB / 1.033 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.615e-05/0.8735, allocations: 0 / 1.033 GB, free: 0.9609 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003063/0.8738, allocations: 112 kB / 1.033 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001965/0.874, allocations: 144.6 kB / 1.033 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007699/0.8817, allocations: 4.078 MB / 1.037 GB, free: 12.61 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/0.9048, allocations: 20.3 MB / 1.057 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002949/0.9078, allocations: 1.886 MB / 1.059 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.9089, allocations: 0.7548 MB / 1.059 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.909, allocations: 101.7 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.9091, allocations: 47.16 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=77): time 3.507e-06/0.9091, allocations: 0 / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92): time 0.01563/0.9247, allocations: 5.279 MB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.9248, allocations: 145.5 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.926, allocations: 0.9568 MB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.661e-05/0.9261, allocations: 41.7 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007974/0.9269, allocations: 1.187 MB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/0.9273, allocations: 331.5 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.9274, allocations: 32 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000241/0.9277, allocations: 402.8 kB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.929, allocations: 0.8665 MB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/0.9308, allocations: 1.495 MB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.9325, allocations: 1.182 MB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.9325, allocations: 4 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004111/0.9366, allocations: 2.484 MB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006235/0.9373, allocations: 0.7101 MB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.519e-05/0.9373, allocations: 20 kB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.186e-05/0.9374, allocations: 36 kB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/0.9396, allocations: 0.5109 MB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.084e-05/0.9396, allocations: 47.8 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.9407, allocations: 159.5 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.9409, allocations: 87.98 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.9409, allocations: 0 / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003413/0.9443, allocations: 2.374 MB / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.9444, allocations: 24 kB / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/0.9444, allocations: 32 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/0.9464, allocations: 0.5155 MB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.42e-05/0.9465, allocations: 51.78 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008993/0.9474, allocations: 131.6 kB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.9475, allocations: 91.92 kB / 1.078 GB, free: 15.51 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002126/0.9497, allocations: 1.222 MB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/0.95, allocations: 98.83 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004327/0.9544, allocations: 1.844 MB / 1.081 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.9544, allocations: 8 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.9544, allocations: 4 kB / 1.081 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.9545, allocations: 7.984 kB / 1.081 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/0.9698, allocations: 9.049 MB / 1.09 GB, free: 2.211 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/0.9699, allocations: 8 kB / 1.09 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/0.9715, allocations: 248.5 kB / 1.091 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.897e-05/0.9716, allocations: 24 kB / 1.091 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.068e-05/0.9717, allocations: 28 kB / 1.091 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-05/0.9717, allocations: 23.92 kB / 1.091 GB, free: 1.887 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.761e-05/0.9717, allocations: 15.94 kB / 1.091 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002899/0.9746, allocations: 1.755 MB / 1.092 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007122/0.9754, allocations: 327.8 kB / 1.093 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.9756, allocations: 35.98 kB / 1.093 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.9768, allocations: 71.91 kB / 1.093 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.9769, allocations: 87.7 kB / 1.093 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.737e-05/0.9771, allocations: 40 kB / 1.093 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001529/0.9786, allocations: 0.7176 MB / 1.094 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.61e-07/0.9786, allocations: 0 / 1.094 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004865/0.9835, allocations: 0.8047 MB / 1.094 GB, free: 13.88 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003442/0.9869, allocations: 2.382 MB / 1.097 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.006402/0.9934, allocations: 2.944 MB / 1.1 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/0.9934, allocations: 7.938 kB / 1.1 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.9945, allocations: 0.5676 MB / 1.1 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.9963, allocations: 173.1 kB / 1.1 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/1.019, allocations: 10.65 MB / 1.111 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002941/1.022, allocations: 2.113 MB / 1.113 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002664/1.024, allocations: 1.027 MB / 1.114 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/1.025, allocations: 0.7609 MB / 1.114 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of SimCode: time 8.91e-07/1.025, allocations: 0 / 1.114 GB, free: 8.477 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04724/1.073, allocations: 28.88 MB / 1.143 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/1.073, allocations: 228.3 kB / 1.143 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/3.422, allocations: 0.625 kB / 1.143 GB, free: 11.62 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat does not exist to compare? outputFormat=mat