Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",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.001243/0.001243, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001621/0.001621, allocations: 177.3 kB / 15.94 MB, free: 228 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.44/1.44, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.3 MB / 0.6653 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003614, allocations: 8 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8494/0.8497, allocations: 142.3 MB / 0.9536 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.003839/0.8536, allocations: 2.905 MB / 0.9564 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003186/0.8568, allocations: 1.975 MB / 0.9584 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.857, allocations: 5.719 kB / 0.9584 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.8572, allocations: 43.28 kB / 0.9584 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005335/0.8578, allocations: 154.9 kB / 0.9586 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.8584, allocations: 213.5 kB / 0.9588 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003271/0.8587, allocations: 228.3 kB / 0.959 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005062/0.8592, allocations: 316.1 kB / 0.9593 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.8595, allocations: 111 kB / 0.9594 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002593/0.8597, allocations: 119.3 kB / 0.9595 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.8598, allocations: 11.12 kB / 0.9595 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005009/0.8603, allocations: 263 kB / 0.9598 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.8604, allocations: 82.72 kB / 0.9598 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.392e-05/0.8605, allocations: 70.58 kB / 0.9599 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004417/0.8609, allocations: 368.8 kB / 0.9603 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.8609, allocations: 4 kB / 0.9603 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8609, allocations: 0 / 0.9603 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.8609, allocations: 0 / 0.9603 GB, free: 3.078 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008881/0.8618, allocations: 0.5701 MB / 0.9608 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.8619, allocations: 9.781 kB / 0.9608 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.751e-05/0.862, allocations: 56.36 kB / 0.9609 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009126/0.8629, allocations: 137.1 kB / 0.961 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.8632, allocations: 272.9 kB / 0.9613 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.8633, allocations: 13.5 kB / 0.9613 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/0.8633, allocations: 22.2 kB / 0.9613 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.864, allocations: 416.2 kB / 0.9617 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.864, allocations: 0 / 0.9617 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.8641, allocations: 11.2 kB / 0.9617 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-05/0.8641, allocations: 32.05 kB / 0.9617 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.8648, allocations: 360.7 kB / 0.9621 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002316/0.8671, allocations: 2.051 MB / 0.9641 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008422/0.868, allocations: 352 kB / 0.9644 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.8681, allocations: 87.7 kB / 0.9645 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.8682, allocations: 36.09 kB / 0.9645 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 3.677e-06/0.8682, allocations: 0 / 0.9645 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.003514/0.8717, allocations: 1.288 MB / 0.9658 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.8718, allocations: 80.75 kB / 0.9659 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.872, allocations: 225.9 kB / 0.9661 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.8721, allocations: 30.7 kB / 0.9661 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.8722, allocations: 186.5 kB / 0.9663 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.8723, allocations: 95.45 kB / 0.9664 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.8724, allocations: 9 kB / 0.9664 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.8725, allocations: 344.7 kB / 0.9667 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.8729, allocations: 166.5 kB / 0.9669 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004579/0.8734, allocations: 270.6 kB / 0.9671 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/0.8738, allocations: 209.5 kB / 0.9673 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.8739, allocations: 1 kB / 0.9674 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001233/0.8751, allocations: 0.5548 MB / 0.9679 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005012/0.8756, allocations: 1.135 MB / 0.969 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.8756, allocations: 7 kB / 0.969 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/0.876, allocations: 88.42 kB / 0.9691 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.8765, allocations: 94.66 kB / 0.9692 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.8781, allocations: 1.966 MB / 0.9711 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003542/0.8785, allocations: 35.75 kB / 0.9711 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.8786, allocations: 16.31 kB / 0.9712 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.8786, allocations: 2.812 kB / 0.9712 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001248/0.8798, allocations: 0.508 MB / 0.9716 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.8799, allocations: 2.844 kB / 0.9717 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/0.8801, allocations: 78.81 kB / 0.9717 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.8805, allocations: 94.31 kB / 0.9718 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003393/0.8809, allocations: 0.5476 MB / 0.9724 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.8812, allocations: 42.89 kB / 0.9724 GB, free: 8.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.8813, allocations: 16.14 kB / 0.9724 GB, free: 8.953 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003133/0.8816, allocations: 244.2 kB / 0.9726 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.8817, allocations: 28.39 kB / 0.9727 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.8829, allocations: 0.4889 MB / 0.9731 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.8829, allocations: 3.875 kB / 0.9731 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.8829, allocations: 1.438 kB / 0.9732 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.8829, allocations: 4 kB / 0.9732 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.885, allocations: 1.039 MB / 0.9742 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.8851, allocations: 2.188 kB / 0.9742 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.8853, allocations: 67.44 kB / 0.9742 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000305/0.8857, allocations: 79.16 kB / 0.9743 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/0.8857, allocations: 12.09 kB / 0.9743 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.8875, allocations: 1.983 MB / 0.9763 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.8875, allocations: 2.312 kB / 0.9763 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.8889, allocations: 0.7522 MB / 0.977 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.8891, allocations: 132.6 kB / 0.9771 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/0.8892, allocations: 8.219 kB / 0.9771 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.8895, allocations: 35.16 kB / 0.9772 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.8897, allocations: 28.06 kB / 0.9772 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.8897, allocations: 11.91 kB / 0.9772 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002236/0.8899, allocations: 169.2 kB / 0.9774 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8899, allocations: 1.406 kB / 0.9774 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008926/0.8908, allocations: 137.5 kB / 0.9775 GB, free: 4.672 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001869/0.8927, allocations: 1.861 MB / 0.9793 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001916/0.8946, allocations: 0.8427 MB / 0.9801 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.8947, allocations: 5.156 kB / 0.9801 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006393/0.8953, allocations: 337.3 kB / 0.9805 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.8958, allocations: 50.22 kB / 0.9805 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.9008, allocations: 3.801 MB / 0.9842 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.9013, allocations: 0.8005 MB / 0.985 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004341/0.9018, allocations: 109.4 kB / 0.9851 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.902, allocations: 83.12 kB / 0.9852 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of SimCode: time 1.393e-06/0.902, allocations: 0 / 0.9852 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.9259, allocations: 6.528 MB / 0.9916 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.9261, allocations: 241.2 kB / 0.9918 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.76, allocations: 0 / 0.9918 GB, free: 7.844 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat does not exist to compare? outputFormat=mat