Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.258/2.258, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.001269, allocations: 185.2 kB / 498.1 MB, free: 5.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.945/1.945, allocations: 223.1 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001153, allocations: 101.9 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003566, allocations: 11.16 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2854, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2245/0.51, allocations: 192 MB / 1.41 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.5103, allocations: 99.92 kB / 1.411 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.6923/1.203, allocations: 49.85 MB / 1.459 GB, free: 187.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.774e-06/1.203, allocations: 0 / 1.459 GB, free: 187.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.112e-05/1.203, allocations: 23.41 kB / 1.459 GB, free: 187.9 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.002487/1.205, allocations: 0.9644 MB / 1.46 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.205, allocations: 11.84 kB / 1.46 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003326/1.206, allocations: 121.3 kB / 1.46 GB, free: 187 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008662/1.214, allocations: 1.547 MB / 1.462 GB, free: 186.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/1.216, allocations: 0.5511 MB / 1.462 GB, free: 185.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/1.216, allocations: 48.56 kB / 1.462 GB, free: 185.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002761/1.216, allocations: 62.19 kB / 1.463 GB, free: 185.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004453/1.22, allocations: 1.836 MB / 1.464 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/1.22, allocations: 7.594 kB / 1.464 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/1.221, allocations: 26.69 kB / 1.464 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002149/1.221, allocations: 105 kB / 1.464 GB, free: 184.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006648/1.228, allocations: 2.484 MB / 1.467 GB, free: 183.4 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00872/1.236, allocations: 6.385 MB / 1.473 GB, free: 178 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/1.239, allocations: 1.354 MB / 1.474 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002473/1.242, allocations: 2.229 MB / 1.477 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/1.242, allocations: 42.56 kB / 1.477 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=69): time 2.365e-06/1.242, allocations: 0 / 1.477 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=93): time 0.02045/1.262, allocations: 6.422 MB / 1.483 GB, free: 168.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/1.263, allocations: 199.6 kB / 1.483 GB, free: 168.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006095/1.263, allocations: 480.8 kB / 1.484 GB, free: 167.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/1.263, allocations: 41.7 kB / 1.484 GB, free: 167.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/1.264, allocations: 385.2 kB / 1.484 GB, free: 167.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/1.264, allocations: 331.2 kB / 1.484 GB, free: 166.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/1.264, allocations: 24 kB / 1.484 GB, free: 166.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.264, allocations: 374.8 kB / 1.485 GB, free: 166.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002519/1.267, allocations: 0.9977 MB / 1.486 GB, free: 165.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/1.269, allocations: 1.271 MB / 1.487 GB, free: 164.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/1.272, allocations: 1.079 MB / 1.488 GB, free: 163 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/1.272, allocations: 7.938 kB / 1.488 GB, free: 163 MB / 0.9167 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.008303/1.28, allocations: 3.213 MB / 1.491 GB, free: 159.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007228/1.281, allocations: 3.141 MB / 1.494 GB, free: 156.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/1.281, allocations: 8 kB / 1.494 GB, free: 156.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003644/1.285, allocations: 0.9784 MB / 1.495 GB, free: 155.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/1.287, allocations: 463.3 kB / 1.496 GB, free: 154.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007189/1.294, allocations: 7.576 MB / 1.503 GB, free: 146.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/1.296, allocations: 307.5 kB / 1.503 GB, free: 146.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/1.296, allocations: 55.97 kB / 1.503 GB, free: 146.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/1.296, allocations: 7.938 kB / 1.503 GB, free: 146.6 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00773/1.304, allocations: 2.929 MB / 1.506 GB, free: 143.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.776e-05/1.304, allocations: 8 kB / 1.506 GB, free: 143.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002523/1.307, allocations: 0.6879 MB / 1.507 GB, free: 142.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/1.309, allocations: 479.2 kB / 1.507 GB, free: 142.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006803/1.316, allocations: 6.861 MB / 1.514 GB, free: 135.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/1.318, allocations: 295.5 kB / 1.514 GB, free: 134.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003683/1.319, allocations: 63.97 kB / 1.514 GB, free: 134.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (123): * Single equations (assignments): 119 * 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: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.001058/1.32, allocations: 353.3 kB / 1.515 GB, free: 134.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004479/1.32, allocations: 71.16 kB / 1.515 GB, free: 134.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008898/1.329, allocations: 3.016 MB / 1.518 GB, free: 131.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/1.329, allocations: 15.98 kB / 1.518 GB, free: 131.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.142e-05/1.329, allocations: 7.984 kB / 1.518 GB, free: 131.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/1.329, allocations: 3.984 kB / 1.518 GB, free: 131.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/1.341, allocations: 4.929 MB / 1.523 GB, free: 126.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/1.341, allocations: 7.984 kB / 1.523 GB, free: 126.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/1.342, allocations: 359.8 kB / 1.523 GB, free: 125.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003328/1.346, allocations: 0.9319 MB / 1.524 GB, free: 125 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/1.346, allocations: 39.92 kB / 1.524 GB, free: 125 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0088/1.354, allocations: 8.919 MB / 1.533 GB, free: 115.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/1.354, allocations: 4.062 kB / 1.533 GB, free: 115.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007986/1.362, allocations: 3.429 MB / 1.536 GB, free: 111.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007608/1.363, allocations: 312 kB / 1.536 GB, free: 111.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/1.364, allocations: 23.98 kB / 1.536 GB, free: 111.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001871/1.365, allocations: 287.5 kB / 1.536 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/1.366, allocations: 91.53 kB / 1.537 GB, free: 111.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.366, allocations: 35.97 kB / 1.537 GB, free: 111.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005242/1.366, allocations: 370.8 kB / 1.537 GB, free: 110.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.11e-07/1.366, allocations: 0 / 1.537 GB, free: 110.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002666/1.369, allocations: 0.5273 MB / 1.537 GB, free: 110.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * 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: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.008037/1.377, allocations: 5.532 MB / 1.543 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01044/1.388, allocations: 4.689 MB / 1.547 GB, free: 99.75 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/1.388, allocations: 0 / 1.547 GB, free: 99.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003422/1.391, allocations: 1.752 MB / 1.549 GB, free: 97.94 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008479/1.392, allocations: 106.1 kB / 1.549 GB, free: 97.84 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/1.414, allocations: 14.37 MB / 1.563 GB, free: 83.18 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005958/1.415, allocations: 1.047 MB / 1.564 GB, free: 82.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001785/1.417, allocations: 494.4 kB / 1.565 GB, free: 81.61 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004778/1.417, allocations: 267.3 kB / 1.565 GB, free: 81.35 MB / 0.9167 GB Notification: Performance of SimCode: time 1.152e-06/1.417, allocations: 0 / 1.565 GB, free: 81.35 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05838/1.475, allocations: 25.2 MB / 1.59 GB, free: 56.43 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/1.476, allocations: 243.8 kB / 1.59 GB, free: 56.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.625/4.101, allocations: 1.406 kB / 1.59 GB, free: 56.2 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat does not exist to compare? outputFormat=mat