Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_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.138/2.138, 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.001337/0.001337, allocations: 173.2 kB / 498.1 MB, free: 5.738 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.408/1.408, allocations: 223.2 MB / 0.7948 GB, free: 18.87 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.0008622/0.0008622, allocations: 102.8 kB / 0.9346 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004273, allocations: 8.875 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2914, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9043/1.196, allocations: 188.3 MB / 1.407 GB, free: 76.08 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004826/1.196, allocations: 92.88 kB / 1.407 GB, free: 76.08 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.1199/1.316, allocations: 48.74 MB / 1.455 GB, free: 72.19 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.525e-06/1.316, allocations: 3.938 kB / 1.455 GB, free: 72.18 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.703e-05/1.316, allocations: 19.69 kB / 1.455 GB, free: 72.18 MB / 0.9011 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.00285/1.319, allocations: 0.9631 MB / 1.455 GB, free: 71.54 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.319, allocations: 15.36 kB / 1.455 GB, free: 71.53 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004206/1.32, allocations: 116.1 kB / 1.456 GB, free: 71.49 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008692/1.328, allocations: 1.556 MB / 1.457 GB, free: 71.43 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/1.33, allocations: 0.5405 MB / 1.458 GB, free: 71.17 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.697e-05/1.33, allocations: 47.72 kB / 1.458 GB, free: 71.17 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/1.33, allocations: 61.66 kB / 1.458 GB, free: 71.17 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004239/1.334, allocations: 1.841 MB / 1.46 GB, free: 70.91 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/1.334, allocations: 3.688 kB / 1.46 GB, free: 70.91 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/1.334, allocations: 35.14 kB / 1.46 GB, free: 70.91 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001944/1.334, allocations: 100.4 kB / 1.46 GB, free: 70.9 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006596/1.341, allocations: 2.487 MB / 1.462 GB, free: 70.86 MB / 0.9011 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.008132/1.349, allocations: 6.381 MB / 1.468 GB, free: 67.16 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003093/1.352, allocations: 1.35 MB / 1.47 GB, free: 67 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002583/1.355, allocations: 2.233 MB / 1.472 GB, free: 65.57 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/1.355, allocations: 45.34 kB / 1.472 GB, free: 65.52 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=69): time 3.426e-06/1.355, allocations: 0 / 1.472 GB, free: 65.52 MB / 0.9011 GB Notification: Performance of matching and sorting (n=93): time 0.01992/1.375, allocations: 6.416 MB / 1.478 GB, free: 63.62 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/1.375, allocations: 203.4 kB / 1.478 GB, free: 63.39 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/1.376, allocations: 476.1 kB / 1.479 GB, free: 63.2 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/1.376, allocations: 40.23 kB / 1.479 GB, free: 63.16 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/1.376, allocations: 385.6 kB / 1.479 GB, free: 62.89 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/1.376, allocations: 330.4 kB / 1.48 GB, free: 62.66 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.806e-05/1.376, allocations: 21.09 kB / 1.48 GB, free: 62.66 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.377, allocations: 374.9 kB / 1.48 GB, free: 62.32 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002625/1.379, allocations: 0.9971 MB / 1.481 GB, free: 62.07 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002909/1.382, allocations: 1.276 MB / 1.482 GB, free: 61.48 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002808/1.385, allocations: 1.087 MB / 1.483 GB, free: 61.23 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/1.385, allocations: 1.781 kB / 1.483 GB, free: 61.23 MB / 0.9011 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00956/1.395, allocations: 3.217 MB / 1.486 GB, free: 60.23 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007577/1.395, allocations: 3.128 MB / 1.489 GB, free: 56.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/1.395, allocations: 8.312 kB / 1.489 GB, free: 56.93 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004189/1.4, allocations: 0.9776 MB / 1.49 GB, free: 56.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/1.402, allocations: 458.4 kB / 1.491 GB, free: 56.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009689/1.412, allocations: 7.588 MB / 1.498 GB, free: 51.33 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/1.414, allocations: 300.6 kB / 1.498 GB, free: 51.21 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000326/1.415, allocations: 69.23 kB / 1.499 GB, free: 51.19 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.415, allocations: 3.938 kB / 1.499 GB, free: 51.19 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008/1.423, allocations: 2.922 MB / 1.501 GB, free: 50.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.988e-05/1.423, allocations: 7.812 kB / 1.501 GB, free: 50.35 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002604/1.425, allocations: 0.6839 MB / 1.502 GB, free: 50.09 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/1.427, allocations: 486.1 kB / 1.503 GB, free: 49.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006483/1.434, allocations: 6.847 MB / 1.509 GB, free: 45.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/1.436, allocations: 297 kB / 1.509 GB, free: 45.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/1.437, allocations: 65.45 kB / 1.51 GB, free: 45.29 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 () * 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.000781/1.437, allocations: 349.4 kB / 1.51 GB, free: 45.07 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/1.438, allocations: 78.02 kB / 1.51 GB, free: 45.02 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00852/1.446, allocations: 3.014 MB / 1.513 GB, free: 43.98 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/1.446, allocations: 11.62 kB / 1.513 GB, free: 43.98 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.147e-05/1.446, allocations: 3.906 kB / 1.513 GB, free: 43.98 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/1.446, allocations: 11.83 kB / 1.513 GB, free: 43.98 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/1.458, allocations: 4.934 MB / 1.518 GB, free: 41.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.458, allocations: 3.938 kB / 1.518 GB, free: 41.78 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/1.459, allocations: 366.6 kB / 1.518 GB, free: 41.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003541/1.463, allocations: 0.9283 MB / 1.519 GB, free: 41.29 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/1.463, allocations: 38.75 kB / 1.519 GB, free: 41.28 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009079/1.472, allocations: 8.914 MB / 1.528 GB, free: 35.26 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/1.472, allocations: 7.812 kB / 1.528 GB, free: 35.26 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008615/1.481, allocations: 3.432 MB / 1.531 GB, free: 33.54 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008677/1.482, allocations: 313.4 kB / 1.531 GB, free: 33.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/1.482, allocations: 25.72 kB / 1.531 GB, free: 33.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/1.484, allocations: 295.4 kB / 1.532 GB, free: 33.23 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/1.484, allocations: 92.38 kB / 1.532 GB, free: 33.19 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.484, allocations: 40.25 kB / 1.532 GB, free: 33.18 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005576/1.485, allocations: 363.8 kB / 1.532 GB, free: 33.04 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.81e-07/1.485, allocations: 0 / 1.532 GB, free: 33.04 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002677/1.488, allocations: 0.5157 MB / 1.533 GB, free: 33.04 MB / 0.9011 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.008952/1.497, allocations: 5.545 MB / 1.538 GB, free: 29.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01146/1.508, allocations: 4.68 MB / 1.543 GB, free: 27.53 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/1.508, allocations: 0 / 1.543 GB, free: 27.53 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003843/1.512, allocations: 1.749 MB / 1.544 GB, free: 26.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/1.513, allocations: 97.52 kB / 1.544 GB, free: 26.68 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0251/1.538, allocations: 14.37 MB / 1.559 GB, free: 17.5 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006867/1.539, allocations: 1.044 MB / 1.56 GB, free: 16.65 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002013/1.541, allocations: 0.4885 MB / 1.56 GB, free: 16.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/1.542, allocations: 269.6 kB / 1.56 GB, free: 16.35 MB / 0.9011 GB Notification: Performance of SimCode: time 1.202e-06/1.542, allocations: 4 kB / 1.56 GB, free: 16.35 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04628/1.588, allocations: 25.16 MB / 1.585 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/1.588, allocations: 240.3 kB / 1.585 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/4.292, allocations: 0 / 1.585 GB, free: 13.3 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat does not exist to compare? outputFormat=mat