Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ACACConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",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.0009832/0.0009833, allocations: 91.69 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.000877/0.0008771, 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.469/1.469, 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 9.1.1-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.4 MB / 0.6655 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003567, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7741/0.7745, allocations: 142.3 MB / 0.9539 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003068/0.7776, allocations: 2.428 MB / 0.9562 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002666/0.7803, allocations: 1.867 MB / 0.9581 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.7805, allocations: 6.25 kB / 0.9581 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.7807, allocations: 27.28 kB / 0.9581 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005434/0.7813, allocations: 147.7 kB / 0.9582 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000638/0.7819, allocations: 208.9 kB / 0.9584 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003773/0.7823, allocations: 365.5 kB / 0.9588 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005664/0.7829, allocations: 346 kB / 0.9591 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.7831, allocations: 101.1 kB / 0.9592 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.7833, allocations: 148.2 kB / 0.9593 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.7834, allocations: 11 kB / 0.9593 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004905/0.7839, allocations: 261.2 kB / 0.9596 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.784, allocations: 80.62 kB / 0.9597 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.93e-05/0.7841, allocations: 67.94 kB / 0.9597 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.7845, allocations: 339.9 kB / 0.9601 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7845, allocations: 1.125 kB / 0.9601 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7845, allocations: 0 / 0.9601 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.7845, allocations: 0 / 0.9601 GB, free: 3.676 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008009/0.7853, allocations: 0.5222 MB / 0.9606 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.7854, allocations: 10 kB / 0.9606 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.012e-05/0.7855, allocations: 57.94 kB / 0.9606 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007172/0.7862, allocations: 101.2 kB / 0.9607 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.7865, allocations: 252.9 kB / 0.961 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.7865, allocations: 16.42 kB / 0.961 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.7865, allocations: 20.91 kB / 0.961 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.7872, allocations: 388.9 kB / 0.9614 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.7872, allocations: 9.234 kB / 0.9614 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.7873, allocations: 10.78 kB / 0.9614 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-05/0.7873, allocations: 21.42 kB / 0.9614 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006613/0.788, allocations: 370.9 kB / 0.9618 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.7897, allocations: 1.73 MB / 0.9635 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006273/0.7903, allocations: 350 kB / 0.9638 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.7906, allocations: 191.9 kB / 0.964 GB, free: 452 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.7908, allocations: 88.19 kB / 0.9641 GB, free: 352 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.7908, allocations: 36.12 kB / 0.9641 GB, free: 308 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.7908, allocations: 0 / 0.9641 GB, free: 308 kB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.007223/0.7981, allocations: 2.079 MB / 0.9661 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.351e-05/0.7982, allocations: 80.83 kB / 0.9662 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.7984, allocations: 182.8 kB / 0.9664 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.7984, allocations: 34.67 kB / 0.9664 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.7986, allocations: 146.7 kB / 0.9666 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.7987, allocations: 125.3 kB / 0.9667 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.7987, allocations: 9.344 kB / 0.9667 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.7989, allocations: 332.2 kB / 0.967 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005735/0.7995, allocations: 252.9 kB / 0.9672 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007326/0.8003, allocations: 341.1 kB / 0.9676 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006053/0.8009, allocations: 298.4 kB / 0.9679 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8009, allocations: 1.312 kB / 0.9679 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001376/0.8023, allocations: 0.6511 MB / 0.9685 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.8024, allocations: 161.5 kB / 0.9686 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.8025, allocations: 7.188 kB / 0.9687 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.8025, allocations: 4 kB / 0.9687 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009066/0.8034, allocations: 152.8 kB / 0.9688 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/0.8034, allocations: 21.12 kB / 0.9688 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.8039, allocations: 53.22 kB / 0.9689 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/0.8039, allocations: 20.55 kB / 0.9689 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.8039, allocations: 3.438 kB / 0.9689 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001294/0.8053, allocations: 0.584 MB / 0.9695 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.8053, allocations: 2.156 kB / 0.9695 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.8053, allocations: 4.562 kB / 0.9695 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000765/0.8061, allocations: 152 kB / 0.9696 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.8061, allocations: 7.203 kB / 0.9696 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.8065, allocations: 53.16 kB / 0.9697 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.8065, allocations: 15.33 kB / 0.9697 GB, free: 12.98 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (44): * Single equations (assignments): 44 * 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.0002994/0.8068, allocations: 243.4 kB / 0.9699 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.654e-05/0.8069, allocations: 25.78 kB / 0.9699 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.8084, allocations: 0.6844 MB / 0.9706 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.8084, allocations: 3.219 kB / 0.9706 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.8084, allocations: 5.234 kB / 0.9706 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.8084, allocations: 5.25 kB / 0.9706 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.8109, allocations: 1.381 MB / 0.972 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.8109, allocations: 6.219 kB / 0.972 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006454/0.8115, allocations: 123.8 kB / 0.9721 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.8116, allocations: 4.406 kB / 0.9721 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.8116, allocations: 11.58 kB / 0.9721 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.8116, allocations: 4.094 kB / 0.9721 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.8116, allocations: 6.531 kB / 0.9721 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.8127, allocations: 0.7325 MB / 0.9728 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.8129, allocations: 140.8 kB / 0.973 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-05/0.813, allocations: 13.2 kB / 0.973 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.8133, allocations: 47.31 kB / 0.973 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.8134, allocations: 33.23 kB / 0.9731 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.8134, allocations: 13 kB / 0.9731 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001521/0.8136, allocations: 153.7 kB / 0.9732 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8136, allocations: 0 / 0.9732 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007515/0.8144, allocations: 143.4 kB / 0.9734 GB, free: 10.4 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 (37): * Single equations (assignments): 37 * 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.001567/0.8159, allocations: 1.318 MB / 0.9746 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001763/0.8177, allocations: 0.8667 MB / 0.9755 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8177, allocations: 0 / 0.9755 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.8182, allocations: 269.9 kB / 0.9758 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.8187, allocations: 39.36 kB / 0.9758 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.8226, allocations: 2.258 MB / 0.978 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.823, allocations: 0.7838 MB / 0.9788 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005719/0.8236, allocations: 166.8 kB / 0.9789 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.8238, allocations: 83.41 kB / 0.979 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of SimCode: time 9.62e-07/0.8238, allocations: 0 / 0.979 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.8432, allocations: 6.761 MB / 0.9856 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.8435, allocations: 218.9 kB / 0.9858 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.88, allocations: 4 kB / 0.9858 GB, free: 14.91 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat does not exist to compare? outputFormat=mat