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.572/2.572, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001312/0.001312, allocations: 180.2 kB / 492.3 MB, free: 0.6055 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.643/1.643, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001017/0.001017, allocations: 91.5 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.598e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2942, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9148/1.209, allocations: 192 MB / 1.4 GB, free: 8.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/1.209, allocations: 93.95 kB / 1.4 GB, free: 8.195 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1163/1.326, allocations: 49.57 MB / 1.448 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.373e-06/1.326, allocations: 4 kB / 1.448 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.929e-05/1.326, allocations: 16 kB / 1.448 GB, free: 14.05 MB / 0.8698 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.001794/1.328, allocations: 0.9193 MB / 1.449 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.328, allocations: 12.03 kB / 1.449 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001509/1.328, allocations: 113.9 kB / 1.45 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00917/1.337, allocations: 1.551 MB / 1.451 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/1.338, allocations: 0.5465 MB / 1.452 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/1.338, allocations: 55.48 kB / 1.452 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/1.339, allocations: 60.98 kB / 1.452 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/1.341, allocations: 1.345 MB / 1.453 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/1.341, allocations: 7.906 kB / 1.453 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/1.341, allocations: 30.05 kB / 1.453 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000204/1.341, allocations: 99.81 kB / 1.453 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/1.343, allocations: 1.495 MB / 1.455 GB, free: 8.648 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.009476/1.353, allocations: 6.377 MB / 1.461 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/1.354, allocations: 1.009 MB / 1.462 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007875/1.355, allocations: 0.565 MB / 1.462 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00263/1.358, allocations: 2.231 MB / 1.465 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/1.358, allocations: 50.05 kB / 1.465 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=69): time 2.725e-06/1.358, allocations: 4 kB / 1.465 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of matching and sorting (n=93): time 0.01235/1.37, allocations: 4.564 MB / 1.469 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/1.37, allocations: 203.6 kB / 1.469 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/1.371, allocations: 468.7 kB / 1.47 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.95e-05/1.371, allocations: 40.14 kB / 1.47 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/1.371, allocations: 389.7 kB / 1.47 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/1.372, allocations: 329.6 kB / 1.47 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.317e-05/1.372, allocations: 23.44 kB / 1.47 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.372, allocations: 379.6 kB / 1.471 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009039/1.373, allocations: 0.6373 MB / 1.471 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/1.374, allocations: 0.9223 MB / 1.472 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/1.375, allocations: 0.7366 MB / 1.473 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.375, allocations: 0 / 1.473 GB, free: 8.336 MB / 0.8855 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005002/1.38, allocations: 2.469 MB / 1.475 GB, free: 6.438 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001292/1.381, allocations: 3.142 MB / 1.478 GB, free: 3.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/1.381, allocations: 8 kB / 1.479 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003268/1.385, allocations: 0.9011 MB / 1.479 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/1.387, allocations: 467 kB / 1.48 GB, free: 1.84 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008592/1.395, allocations: 7.407 MB / 1.487 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/1.398, allocations: 302.8 kB / 1.487 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/1.398, allocations: 57.28 kB / 1.487 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/1.398, allocations: 4 kB / 1.487 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004328/1.402, allocations: 2.182 MB / 1.49 GB, free: 9.223 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/1.402, allocations: 8 kB / 1.49 GB, free: 9.215 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002084/1.405, allocations: 0.6205 MB / 1.49 GB, free: 8.668 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/1.407, allocations: 486.2 kB / 1.491 GB, free: 8.199 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00745/1.414, allocations: 6.678 MB / 1.497 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/1.417, allocations: 291.5 kB / 1.497 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/1.417, allocations: 67.89 kB / 1.497 GB, free: 1.32 MB / 0.9011 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 () * 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.0003795/1.417, allocations: 171 kB / 1.498 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/1.417, allocations: 71.16 kB / 1.498 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/1.423, allocations: 2.275 MB / 1.5 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/1.423, allocations: 15.98 kB / 1.5 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.423, allocations: 4 kB / 1.5 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/1.423, allocations: 7.984 kB / 1.5 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007381/1.43, allocations: 4.222 MB / 1.504 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.43, allocations: 4 kB / 1.504 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/1.432, allocations: 363.9 kB / 1.504 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002945/1.435, allocations: 0.8582 MB / 1.505 GB, free: 9.148 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/1.435, allocations: 35.91 kB / 1.505 GB, free: 9.113 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009717/1.445, allocations: 8.587 MB / 1.514 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/1.445, allocations: 4 kB / 1.514 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005314/1.45, allocations: 2.689 MB / 1.516 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007142/1.451, allocations: 312.1 kB / 1.517 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/1.451, allocations: 28 kB / 1.517 GB, free: 12.72 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.453, allocations: 287.5 kB / 1.517 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/1.453, allocations: 91.77 kB / 1.517 GB, free: 12.35 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.526e-05/1.453, allocations: 39.98 kB / 1.517 GB, free: 12.31 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004697/1.454, allocations: 361.5 kB / 1.517 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/1.454, allocations: 0 / 1.517 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002012/1.456, allocations: 0.5156 MB / 1.518 GB, free: 11.44 MB / 0.9323 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 () * 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.005825/1.462, allocations: 4.792 MB / 1.523 GB, free: 6.461 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006561/1.468, allocations: 3.623 MB / 1.526 GB, free: 2.766 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.468, allocations: 8 kB / 1.526 GB, free: 2.758 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002185/1.47, allocations: 1.389 MB / 1.527 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007915/1.471, allocations: 100.4 kB / 1.528 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009207/1.48, allocations: 2.769 MB / 1.53 GB, free: 14.33 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008617/1.481, allocations: 1.048 MB / 1.531 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00206/1.483, allocations: 0.5113 MB / 1.532 GB, free: 12.74 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/1.484, allocations: 263.3 kB / 1.532 GB, free: 12.48 MB / 0.948 GB Notification: Performance of SimCode: time 2.454e-06/1.484, allocations: 0 / 1.532 GB, free: 12.48 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04442/1.528, allocations: 25.81 MB / 1.557 GB, free: 2.957 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002263/1.529, allocations: 213.2 kB / 1.557 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.764/4.293, allocations: 0 / 1.557 GB, free: 2.734 MB / 0.9636 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