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.0007431/0.0007428, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.001467/0.001467, allocations: 176.7 kB / 15.96 MB, free: 196 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.433/1.433, allocations: 223.3 MB / 240 MB, free: 5.438 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.469/2.469, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003689, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.837/0.8373, allocations: 142.3 MB / 0.9539 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.004283/0.8417, allocations: 2.957 MB / 0.9567 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003908/0.8456, allocations: 2.012 MB / 0.9587 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.8459, allocations: 4.688 kB / 0.9587 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002381/0.8462, allocations: 44.27 kB / 0.9588 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005458/0.8467, allocations: 170.1 kB / 0.9589 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006671/0.8474, allocations: 215.3 kB / 0.9591 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004559/0.8479, allocations: 444.7 kB / 0.9596 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004747/0.8484, allocations: 319.7 kB / 0.9599 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.8485, allocations: 129.4 kB / 0.96 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.8489, allocations: 165.4 kB / 0.9601 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.8489, allocations: 11.66 kB / 0.9601 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.8494, allocations: 269.3 kB / 0.9604 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.836e-05/0.8495, allocations: 87.45 kB / 0.9605 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/0.8496, allocations: 69.52 kB / 0.9606 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.85, allocations: 382.7 kB / 0.9609 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.8501, allocations: 0 / 0.9609 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.114e-06/0.8501, allocations: 1.031 kB / 0.9609 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.8501, allocations: 4 kB / 0.9609 GB, free: 2.816 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.0007999/0.8509, allocations: 0.5661 MB / 0.9615 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.8509, allocations: 13.75 kB / 0.9615 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.851, allocations: 59.48 kB / 0.9615 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007836/0.8518, allocations: 124 kB / 0.9617 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.8521, allocations: 265 kB / 0.9619 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.8521, allocations: 13.72 kB / 0.9619 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.8522, allocations: 26.39 kB / 0.962 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006492/0.8528, allocations: 413.5 kB / 0.9624 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.8528, allocations: 3.938 kB / 0.9624 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.8529, allocations: 19.53 kB / 0.9624 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.643e-05/0.8529, allocations: 31.48 kB / 0.9624 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005995/0.8535, allocations: 356.5 kB / 0.9627 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.8556, allocations: 2.061 MB / 0.9648 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007977/0.8564, allocations: 358 kB / 0.9651 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004326/0.8569, allocations: 201.2 kB / 0.9653 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.857, allocations: 88.91 kB / 0.9654 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.8571, allocations: 40.59 kB / 0.9654 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.8571, allocations: 0 / 0.9654 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.005117/0.8622, allocations: 1.755 MB / 0.9671 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.8623, allocations: 84.86 kB / 0.9672 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.8625, allocations: 233.9 kB / 0.9674 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.8626, allocations: 31.89 kB / 0.9675 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.8627, allocations: 186 kB / 0.9676 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.647e-05/0.8628, allocations: 117.2 kB / 0.9678 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.8628, allocations: 5.031 kB / 0.9678 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.863, allocations: 341.9 kB / 0.9681 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/0.8634, allocations: 197.3 kB / 0.9683 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.8639, allocations: 308.6 kB / 0.9686 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004657/0.8643, allocations: 248.1 kB / 0.9688 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8643, allocations: 1.312 kB / 0.9688 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001318/0.8657, allocations: 0.6784 MB / 0.9695 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.8658, allocations: 182 kB / 0.9696 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.8658, allocations: 3.281 kB / 0.9696 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004573/0.8663, allocations: 140.7 kB / 0.9698 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.8667, allocations: 108.3 kB / 0.9699 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002887/0.8696, allocations: 3.94 MB / 0.9737 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.8699, allocations: 49.78 kB / 0.9738 GB, free: 8.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.87, allocations: 17.09 kB / 0.9738 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/0.87, allocations: 3.969 kB / 0.9738 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001224/0.8712, allocations: 0.6226 MB / 0.9744 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.8713, allocations: 3.344 kB / 0.9744 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003752/0.8716, allocations: 145.3 kB / 0.9745 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.8721, allocations: 104 kB / 0.9746 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006604/0.8727, allocations: 1.109 MB / 0.9757 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.873, allocations: 48.95 kB / 0.9758 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.8731, allocations: 17.09 kB / 0.9758 GB, free: 6.594 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002624/0.8733, allocations: 250.1 kB / 0.976 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/0.8734, allocations: 25.75 kB / 0.9761 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.8747, allocations: 0.6335 MB / 0.9767 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.8747, allocations: 8.422 kB / 0.9767 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.8748, allocations: 1.094 kB / 0.9767 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.8748, allocations: 1.125 kB / 0.9767 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.877, allocations: 1.331 MB / 0.978 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.8771, allocations: 6.203 kB / 0.978 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.8773, allocations: 67.86 kB / 0.9781 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/0.8778, allocations: 160 kB / 0.9782 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.8778, allocations: 9.469 kB / 0.9782 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00299/0.8808, allocations: 3.963 MB / 0.9821 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.8809, allocations: 1.656 kB / 0.9821 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.8822, allocations: 0.7891 MB / 0.9829 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.8824, allocations: 140.4 kB / 0.983 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.8825, allocations: 9.062 kB / 0.983 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.8828, allocations: 32.72 kB / 0.983 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.771e-05/0.8829, allocations: 38.25 kB / 0.9831 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.8829, allocations: 13.38 kB / 0.9831 GB, free: 140 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002493/0.8832, allocations: 165.6 kB / 0.9832 GB, free: 20 kB / 0.7325 GB Notification: Performance of sort global known variables: time 2.154e-06/0.8832, allocations: 0 / 0.9832 GB, free: 20 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009023/0.8841, allocations: 172.8 kB / 0.9834 GB, free: 15.98 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001627/0.8857, allocations: 1.362 MB / 0.9847 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002091/0.8878, allocations: 1.207 MB / 0.9859 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8878, allocations: 0 / 0.9859 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007432/0.8886, allocations: 0.4944 MB / 0.9864 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.8892, allocations: 56.89 kB / 0.9864 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/0.8928, allocations: 2.253 MB / 0.9886 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.8933, allocations: 0.8084 MB / 0.9894 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003421/0.8936, allocations: 114.9 kB / 0.9895 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.8938, allocations: 91.41 kB / 0.9896 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/0.8938, allocations: 0 / 0.9896 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.9162, allocations: 8.297 MB / 0.9977 GB, free: 1.602 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.9165, allocations: 245.5 kB / 0.998 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/2.989, allocations: 0 / 0.998 GB, free: 1.27 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