Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_8_0_0_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/Buildings 8.0.0/package.mo): time 2.747/2.747, allocations: 287.5 MB / 302.4 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001356/0.001355, allocations: 186.7 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.158/2.158, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001201/0.0012, allocations: 92.55 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006854/0.0006857, allocations: 12.41 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2186, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02192/0.2406, allocations: 14.88 MB / 0.993 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01085/0.2515, allocations: 5.448 MB / 0.9983 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.2528, allocations: 35.88 kB / 0.9983 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.254, allocations: 289.9 kB / 0.9986 GB, free: 7.559 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002516/0.2566, allocations: 0.6303 MB / 0.9992 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.2593, allocations: 0.6089 MB / 0.9998 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005659/0.265, allocations: 4.576 MB / 1.004 GB, free: 1.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01341/0.2785, allocations: 5.895 MB / 1.01 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00304/0.2816, allocations: 1.199 MB / 1.011 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004303/0.2859, allocations: 1.768 MB / 1.013 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.287, allocations: 184 kB / 1.013 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.2899, allocations: 0.5736 MB / 1.014 GB, free: 8.047 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003052/0.293, allocations: 1.36 MB / 1.015 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.2944, allocations: 0.52 MB / 1.016 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008479/0.3029, allocations: 5.077 MB / 1.02 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.303, allocations: 0 / 1.02 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.416e-06/0.303, allocations: 0 / 1.02 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001891/0.3032, allocations: 0 / 1.02 GB, free: 1.066 MB / 0.6355 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.008176/0.3114, allocations: 2.252 MB / 1.023 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.3115, allocations: 12.03 kB / 1.023 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001567/0.313, allocations: 424.8 kB / 1.023 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005501/0.3186, allocations: 0.6643 MB / 1.024 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004316/0.3229, allocations: 1.406 MB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003031/0.3233, allocations: 213.5 kB / 1.025 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/0.3245, allocations: 271.9 kB / 1.026 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.339, allocations: 4.692 MB / 1.03 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-05/0.3391, allocations: 0 / 1.03 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005647/0.3397, allocations: 116 kB / 1.03 GB, free: 6.828 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000274/0.34, allocations: 148.6 kB / 1.03 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01312/0.3531, allocations: 4.07 MB / 1.034 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04009/0.3933, allocations: 20.29 MB / 1.054 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005766/0.3991, allocations: 1.901 MB / 1.056 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/0.4011, allocations: 0.7508 MB / 1.057 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002325/0.4013, allocations: 109.7 kB / 1.057 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/0.4014, allocations: 47.22 kB / 1.057 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=77): time 3.056e-06/0.4014, allocations: 0 / 1.057 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of matching and sorting (n=92): time 0.03302/0.4344, allocations: 5.267 MB / 1.062 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.545e-05/0.4346, allocations: 137.5 kB / 1.062 GB, free: 3.887 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.4366, allocations: 0.9762 MB / 1.063 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001729/0.4368, allocations: 45.7 kB / 1.063 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.4378, allocations: 1.18 MB / 1.064 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000479/0.4383, allocations: 327.4 kB / 1.065 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.4385, allocations: 36 kB / 1.065 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000252/0.4388, allocations: 406.7 kB / 1.065 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.4409, allocations: 0.851 MB / 1.066 GB, free: 32 kB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6105/1.051, allocations: 1.492 MB / 1.067 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003318/1.055, allocations: 1.181 MB / 1.069 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.551e-05/1.055, allocations: 5.969 kB / 1.069 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.007402/1.062, allocations: 2.485 MB / 1.071 GB, free: 81.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004932/1.063, allocations: 0.7093 MB / 1.072 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.236e-05/1.063, allocations: 24.98 kB / 1.072 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-05/1.063, allocations: 34.56 kB / 1.072 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005188/1.068, allocations: 0.5103 MB / 1.072 GB, free: 80.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001025/1.068, allocations: 48.09 kB / 1.072 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/1.071, allocations: 158.2 kB / 1.072 GB, free: 80.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003848/1.071, allocations: 86.17 kB / 1.073 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.071, allocations: 3.688 kB / 1.073 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006981/1.078, allocations: 2.373 MB / 1.075 GB, free: 79.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/1.078, allocations: 21.53 kB / 1.075 GB, free: 79.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.656e-05/1.078, allocations: 34.45 kB / 1.075 GB, free: 79.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004968/1.083, allocations: 0.5126 MB / 1.075 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.684e-05/1.084, allocations: 54.58 kB / 1.075 GB, free: 79.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/1.086, allocations: 127.4 kB / 1.076 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003507/1.086, allocations: 91.02 kB / 1.076 GB, free: 79.77 MB / 0.6823 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.003202/1.089, allocations: 1.222 MB / 1.077 GB, free: 79.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000397/1.09, allocations: 95.03 kB / 1.077 GB, free: 79.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005047/1.095, allocations: 1.833 MB / 1.079 GB, free: 78.38 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.417e-05/1.095, allocations: 9.031 kB / 1.079 GB, free: 78.38 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.095, allocations: 9.172 kB / 1.079 GB, free: 78.37 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/1.095, allocations: 7.062 kB / 1.079 GB, free: 78.37 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01712/1.112, allocations: 9.2 MB / 1.088 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.436e-05/1.112, allocations: 10.72 kB / 1.088 GB, free: 71.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002107/1.114, allocations: 252.4 kB / 1.088 GB, free: 71.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.008e-05/1.114, allocations: 15.53 kB / 1.088 GB, free: 71.54 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/1.114, allocations: 29.44 kB / 1.088 GB, free: 71.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.569e-05/1.114, allocations: 26.44 kB / 1.088 GB, free: 71.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-05/1.114, allocations: 16.03 kB / 1.088 GB, free: 71.51 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003014/1.117, allocations: 1.744 MB / 1.09 GB, free: 70.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008302/1.118, allocations: 322.1 kB / 1.09 GB, free: 70.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/1.118, allocations: 35.88 kB / 1.09 GB, free: 70.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.12, allocations: 77.69 kB / 1.09 GB, free: 70.15 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/1.12, allocations: 86.94 kB / 1.09 GB, free: 70.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.876e-05/1.12, allocations: 40.92 kB / 1.09 GB, free: 70.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001625/1.122, allocations: 0.7205 MB / 1.091 GB, free: 69.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.72e-07/1.122, allocations: 0 / 1.091 GB, free: 69.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004643/1.126, allocations: 0.8027 MB / 1.092 GB, free: 69.76 MB / 0.6823 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.003565/1.13, allocations: 2.348 MB / 1.094 GB, free: 68.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007216/1.137, allocations: 2.938 MB / 1.097 GB, free: 66.96 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/1.137, allocations: 8.219 kB / 1.097 GB, free: 66.96 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001293/1.139, allocations: 0.56 MB / 1.098 GB, free: 66.76 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/1.141, allocations: 176 kB / 1.098 GB, free: 66.69 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02682/1.168, allocations: 10.63 MB / 1.108 GB, free: 60.74 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003797/1.171, allocations: 2.106 MB / 1.11 GB, free: 59.68 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004658/1.176, allocations: 1.019 MB / 1.111 GB, free: 59.59 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001919/1.178, allocations: 0.7606 MB / 1.112 GB, free: 58.97 MB / 0.6823 GB Notification: Performance of SimCode: time 1.703e-06/1.178, allocations: 0 / 1.112 GB, free: 58.97 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09491/1.273, allocations: 28.79 MB / 1.14 GB, free: 36.93 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/1.273, allocations: 225.5 kB / 1.14 GB, free: 36.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.375/4.648, allocations: 7.75 kB / 1.14 GB, free: 36.68 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)