Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.46/2.46, allocations: 390.5 MB / 398 MB, free: 10.97 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.001315/0.001315, allocations: 183.8 kB / 491.2 MB, free: 1.617 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.846/1.846, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.001106/0.001106, allocations: 99.88 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.559e-05/2.583e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3161, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.343, allocations: 192.1 MB / 1.4 GB, free: 8.332 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.343, allocations: 90.88 kB / 1.4 GB, free: 8.281 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.127/1.47, allocations: 49.4 MB / 1.448 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.423e-06/1.47, allocations: 0 / 1.448 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.156e-05/1.47, allocations: 19.98 kB / 1.448 GB, free: 14.56 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.002552/1.473, allocations: 0.9185 MB / 1.449 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.473, allocations: 8.031 kB / 1.449 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009733/1.483, allocations: 1.547 MB / 1.451 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/1.484, allocations: 0.5534 MB / 1.451 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/1.484, allocations: 19.94 kB / 1.451 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000339/1.485, allocations: 39.98 kB / 1.451 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002532/1.487, allocations: 1.232 MB / 1.453 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/1.49, allocations: 1.259 MB / 1.454 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/1.49, allocations: 3.938 kB / 1.454 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/1.49, allocations: 11.94 kB / 1.454 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002463/1.49, allocations: 100 kB / 1.454 GB, free: 9.527 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.009712/1.5, allocations: 6.273 MB / 1.46 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/1.502, allocations: 0.9734 MB / 1.461 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007889/1.502, allocations: 0.5451 MB / 1.462 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002898/1.505, allocations: 2.212 MB / 1.464 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/1.505, allocations: 46 kB / 1.464 GB, free: 488 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 3.897e-06/1.505, allocations: 3.984 kB / 1.464 GB, free: 484 kB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.009268/1.515, allocations: 3.615 MB / 1.467 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/1.515, allocations: 203.6 kB / 1.467 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006788/1.516, allocations: 433.4 kB / 1.468 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/1.516, allocations: 25.7 kB / 1.468 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/1.516, allocations: 387.7 kB / 1.468 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003786/1.516, allocations: 315.9 kB / 1.469 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/1.517, allocations: 0 / 1.469 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002247/1.517, allocations: 374.4 kB / 1.469 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009444/1.518, allocations: 0.6167 MB / 1.47 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/1.519, allocations: 0.8906 MB / 1.47 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/1.521, allocations: 0.8592 MB / 1.471 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/1.521, allocations: 4 kB / 1.471 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0058/1.527, allocations: 2.413 MB / 1.474 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001619/1.529, allocations: 3.138 MB / 1.477 GB, free: 5.043 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.061e-05/1.529, allocations: 11.94 kB / 1.477 GB, free: 5.031 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002922/1.531, allocations: 0.7271 MB / 1.477 GB, free: 4.391 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/1.534, allocations: 462 kB / 1.478 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009466/1.543, allocations: 7.158 MB / 1.485 GB, free: 13.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/1.546, allocations: 283.5 kB / 1.485 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003187/1.546, allocations: 55.34 kB / 1.485 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.546, allocations: 4 kB / 1.485 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00395/1.55, allocations: 1.747 MB / 1.487 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/1.55, allocations: 8 kB / 1.487 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006058/1.551, allocations: 209.5 kB / 1.487 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/1.553, allocations: 0.4978 MB / 1.488 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004084/1.557, allocations: 3.797 MB / 1.491 GB, free: 7.781 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/1.56, allocations: 259.6 kB / 1.492 GB, free: 7.527 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/1.56, allocations: 61.39 kB / 1.492 GB, free: 7.477 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.0005239/1.56, allocations: 140.5 kB / 1.492 GB, free: 7.336 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005641/1.566, allocations: 2.128 MB / 1.494 GB, free: 5.66 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/1.566, allocations: 67.16 kB / 1.494 GB, free: 5.594 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006096/1.573, allocations: 2.307 MB / 1.496 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/1.573, allocations: 12 kB / 1.496 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/1.573, allocations: 4 kB / 1.496 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/1.573, allocations: 7.984 kB / 1.496 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009194/1.582, allocations: 4.134 MB / 1.5 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-05/1.582, allocations: 8.625 kB / 1.5 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/1.584, allocations: 363.4 kB / 1.501 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003289/1.587, allocations: 0.8504 MB / 1.501 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002014/1.587, allocations: 27.97 kB / 1.501 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01032/1.598, allocations: 8.231 MB / 1.509 GB, free: 5.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/1.598, allocations: 7.938 kB / 1.509 GB, free: 5.223 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006202/1.604, allocations: 2.716 MB / 1.512 GB, free: 2.273 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008421/1.605, allocations: 312.1 kB / 1.512 GB, free: 1.949 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002953/1.605, allocations: 8 kB / 1.512 GB, free: 1.941 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/1.607, allocations: 299.4 kB / 1.513 GB, free: 1.648 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003536/1.608, allocations: 91.72 kB / 1.513 GB, free: 1.559 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/1.608, allocations: 43.97 kB / 1.513 GB, free: 1.516 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005828/1.609, allocations: 322.9 kB / 1.513 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.91e-07/1.609, allocations: 0 / 1.513 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002726/1.611, allocations: 456 kB / 1.514 GB, free: 0.7578 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 () * 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.006891/1.618, allocations: 4.82 MB / 1.518 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006149/1.624, allocations: 3.163 MB / 1.521 GB, free: 8.539 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.624, allocations: 0 / 1.521 GB, free: 8.539 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002469/1.627, allocations: 1.317 MB / 1.523 GB, free: 7.184 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/1.628, allocations: 86.8 kB / 1.523 GB, free: 7.102 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/1.638, allocations: 2.664 MB / 1.525 GB, free: 4.328 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009402/1.639, allocations: 1.044 MB / 1.526 GB, free: 3.258 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002338/1.642, allocations: 0.5112 MB / 1.527 GB, free: 2.742 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/1.642, allocations: 271.3 kB / 1.527 GB, free: 2.477 MB / 0.9323 GB Notification: Performance of SimCode: time 1.032e-06/1.642, allocations: 0 / 1.527 GB, free: 2.477 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06294/1.705, allocations: 23.99 MB / 1.55 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/1.706, allocations: 184 kB / 1.551 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.874/4.58, allocations: 5.5 kB / 1.551 GB, free: 10.38 MB / 0.9636 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat does not exist to compare? outputFormat=mat