Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.799/1.799, allocations: 292.6 MB / 307.5 MB, free: 5.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 185 kB / 377.1 MB, free: 1.43 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.4 MB / 0.6366 GB, free: 8.598 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009291/0.0009291, allocations: 82.81 kB / 0.7509 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3005, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8347/1.135, allocations: 188.9 MB / 1.173 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/1.136, allocations: 96.55 kB / 1.173 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2551/1.391, allocations: 105.3 MB / 1.276 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.276e-06/1.391, allocations: 0 / 1.276 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001024/1.391, allocations: 59.98 kB / 1.276 GB, free: 15.22 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.00695/1.398, allocations: 2.431 MB / 1.278 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.398, allocations: 12.03 kB / 1.278 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001313/1.399, allocations: 450.1 kB / 1.279 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/1.411, allocations: 1.904 MB / 1.281 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005253/1.416, allocations: 1.682 MB / 1.282 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/1.416, allocations: 221.9 kB / 1.282 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001188/1.418, allocations: 288 kB / 1.283 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/1.432, allocations: 5.317 MB / 1.288 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001319/1.432, allocations: 7.938 kB / 1.288 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/1.433, allocations: 120 kB / 1.288 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004007/1.434, allocations: 196.9 kB / 1.288 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/1.45, allocations: 5.371 MB / 1.293 GB, free: 13.02 MB / 0.8698 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.03558/1.485, allocations: 22.77 MB / 1.316 GB, free: 4.215 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005738/1.491, allocations: 2.493 MB / 1.318 GB, free: 1.602 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/1.491, allocations: 118.1 kB / 1.318 GB, free: 1.469 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/1.491, allocations: 63.5 kB / 1.318 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=116): time 4.489e-06/1.491, allocations: 0 / 1.318 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146): time 0.04154/1.533, allocations: 11.56 MB / 1.33 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/1.533, allocations: 226.9 kB / 1.33 GB, free: 5.527 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/1.535, allocations: 0.9407 MB / 1.331 GB, free: 4.574 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0004336/1.536, allocations: 53.7 kB / 1.331 GB, free: 4.516 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/1.537, allocations: 1.227 MB / 1.332 GB, free: 3.27 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008964/1.538, allocations: 0.5046 MB / 1.332 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003725/1.538, allocations: 44 kB / 1.332 GB, free: 2.715 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003062/1.538, allocations: 427 kB / 1.333 GB, free: 2.289 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004712/1.543, allocations: 1.764 MB / 1.335 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005196/1.548, allocations: 2.436 MB / 1.337 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005105/1.553, allocations: 2.075 MB / 1.339 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.812e-05/1.553, allocations: 8 kB / 1.339 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0137/1.567, allocations: 4.993 MB / 1.344 GB, free: 6.66 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003815/1.571, allocations: 8.61 MB / 1.352 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.713e-05/1.571, allocations: 24 kB / 1.352 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/1.573, allocations: 0.7542 MB / 1.353 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003729/1.577, allocations: 0.7643 MB / 1.354 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6824/2.26, allocations: 12.8 MB / 1.366 GB, free: 204.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004177/2.264, allocations: 473.1 kB / 1.367 GB, free: 204.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003973/2.264, allocations: 114.9 kB / 1.367 GB, free: 204.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/2.264, allocations: 5.875 kB / 1.367 GB, free: 204.4 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01417/2.278, allocations: 4.855 MB / 1.372 GB, free: 204.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001421/2.279, allocations: 24.09 kB / 1.372 GB, free: 204.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001977/2.281, allocations: 0.688 MB / 1.372 GB, free: 204.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003787/2.284, allocations: 0.7653 MB / 1.373 GB, free: 204.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/2.297, allocations: 12.69 MB / 1.385 GB, free: 196.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003722/2.301, allocations: 451.7 kB / 1.386 GB, free: 196.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003308/2.302, allocations: 117.4 kB / 1.386 GB, free: 196.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (232): * Single equations (assignments): 226 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003525/2.305, allocations: 1.286 MB / 1.387 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005188/2.306, allocations: 120.6 kB / 1.387 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/2.319, allocations: 4.354 MB / 1.392 GB, free: 196.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.017e-05/2.319, allocations: 16.41 kB / 1.392 GB, free: 196.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.53e-05/2.319, allocations: 10.53 kB / 1.392 GB, free: 196.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-05/2.319, allocations: 7.859 kB / 1.392 GB, free: 196.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01795/2.337, allocations: 7.928 MB / 1.399 GB, free: 195.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/2.337, allocations: 8.344 kB / 1.399 GB, free: 195.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002371/2.339, allocations: 0.5226 MB / 1.4 GB, free: 195.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00177/2.341, allocations: 0.6416 MB / 1.4 GB, free: 195.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/2.341, allocations: 49.33 kB / 1.401 GB, free: 195.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/2.352, allocations: 12.35 MB / 1.413 GB, free: 188 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/2.352, allocations: 15.64 kB / 1.413 GB, free: 187.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/2.362, allocations: 4.487 MB / 1.417 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/2.363, allocations: 0.4925 MB / 1.417 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002569/2.364, allocations: 28.81 kB / 1.418 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002475/2.366, allocations: 399.8 kB / 1.418 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003676/2.367, allocations: 126 kB / 1.418 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/2.367, allocations: 62.3 kB / 1.418 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.00108/2.368, allocations: 0.7296 MB / 1.419 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.61e-07/2.368, allocations: 0 / 1.419 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004916/2.373, allocations: 1.158 MB / 1.42 GB, free: 186.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (101): * Single equations (assignments): 95 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01053/2.383, allocations: 6.976 MB / 1.427 GB, free: 183 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01839/2.402, allocations: 8.101 MB / 1.435 GB, free: 181.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/2.402, allocations: 3.344 kB / 1.435 GB, free: 181.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.006049/2.408, allocations: 2.717 MB / 1.437 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/2.409, allocations: 153.9 kB / 1.437 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04581/2.455, allocations: 32.34 MB / 1.469 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002556/2.458, allocations: 2.335 MB / 1.471 GB, free: 158.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00401/2.462, allocations: 1.238 MB / 1.473 GB, free: 158.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001354/2.463, allocations: 0.8559 MB / 1.473 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.122e-06/2.463, allocations: 0 / 1.473 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/2.568, allocations: 46.26 MB / 1.519 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/2.568, allocations: 231.3 kB / 1.519 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.278/5.846, allocations: 2.062 kB / 1.519 GB, free: 155.5 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)