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.261/2.261, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001014/0.001014, allocations: 176.9 kB / 492.3 MB, free: 0.625 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.427/1.427, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009237/0.0009238, allocations: 90.77 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.623e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2516, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9275/1.179, allocations: 188.2 MB / 1.396 GB, free: 11.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/1.179, allocations: 92.25 kB / 1.396 GB, free: 11.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1143/1.294, allocations: 48.46 MB / 1.444 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.925e-06/1.294, allocations: 4 kB / 1.444 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.752e-05/1.294, allocations: 16 kB / 1.444 GB, free: 2.324 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.001799/1.296, allocations: 0.9139 MB / 1.445 GB, free: 1.41 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/1.296, allocations: 8.031 kB / 1.445 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/1.296, allocations: 119.9 kB / 1.445 GB, free: 1.316 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009081/1.305, allocations: 1.551 MB / 1.446 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/1.306, allocations: 0.5477 MB / 1.447 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/1.306, allocations: 45.17 kB / 1.447 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/1.306, allocations: 59.92 kB / 1.447 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/1.309, allocations: 1.349 MB / 1.448 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/1.309, allocations: 0 / 1.448 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.309, allocations: 30.98 kB / 1.448 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002137/1.309, allocations: 105 kB / 1.448 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/1.311, allocations: 1.492 MB / 1.45 GB, free: 12.94 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.008793/1.32, allocations: 6.383 MB / 1.456 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/1.322, allocations: 1.007 MB / 1.457 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008496/1.323, allocations: 0.5654 MB / 1.458 GB, free: 5.859 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003067/1.326, allocations: 2.236 MB / 1.46 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/1.326, allocations: 45.31 kB / 1.46 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 2.996e-06/1.326, allocations: 4 kB / 1.46 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.01308/1.339, allocations: 4.555 MB / 1.464 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/1.339, allocations: 203.6 kB / 1.464 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005949/1.34, allocations: 469.8 kB / 1.465 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/1.34, allocations: 39.77 kB / 1.465 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/1.34, allocations: 385.9 kB / 1.465 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/1.34, allocations: 321 kB / 1.466 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/1.34, allocations: 27.44 kB / 1.466 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001831/1.341, allocations: 377.7 kB / 1.466 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000988/1.342, allocations: 0.6383 MB / 1.467 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/1.343, allocations: 0.9189 MB / 1.468 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/1.344, allocations: 0.746 MB / 1.468 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/1.344, allocations: 0 / 1.468 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005287/1.349, allocations: 2.462 MB / 1.471 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001697/1.351, allocations: 3.137 MB / 1.474 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/1.351, allocations: 8 kB / 1.474 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003357/1.354, allocations: 0.9099 MB / 1.475 GB, free: 6.578 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/1.357, allocations: 462.8 kB / 1.475 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008528/1.365, allocations: 7.404 MB / 1.482 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/1.367, allocations: 304 kB / 1.483 GB, free: 15.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/1.368, allocations: 57.16 kB / 1.483 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.368, allocations: 4 kB / 1.483 GB, free: 15.13 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004533/1.372, allocations: 2.185 MB / 1.485 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.372, allocations: 8.25 kB / 1.485 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002107/1.374, allocations: 0.6175 MB / 1.485 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002242/1.377, allocations: 489.7 kB / 1.486 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007909/1.384, allocations: 6.67 MB / 1.492 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/1.387, allocations: 300 kB / 1.493 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/1.387, allocations: 64.44 kB / 1.493 GB, free: 6.172 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.0003847/1.387, allocations: 166.1 kB / 1.493 GB, free: 6.004 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/1.388, allocations: 71.16 kB / 1.493 GB, free: 5.934 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005423/1.393, allocations: 2.286 MB / 1.495 GB, free: 3.625 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/1.393, allocations: 12 kB / 1.495 GB, free: 3.613 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.393, allocations: 4 kB / 1.495 GB, free: 3.609 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/1.393, allocations: 7.984 kB / 1.495 GB, free: 3.602 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008376/1.401, allocations: 4.211 MB / 1.499 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.402, allocations: 4 kB / 1.499 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/1.403, allocations: 371.8 kB / 1.5 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003115/1.406, allocations: 0.8617 MB / 1.5 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/1.407, allocations: 35.91 kB / 1.501 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/1.418, allocations: 8.595 MB / 1.509 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/1.419, allocations: 8.547 kB / 1.509 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005356/1.424, allocations: 2.681 MB / 1.512 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007223/1.425, allocations: 312.1 kB / 1.512 GB, free: 1.598 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/1.425, allocations: 28 kB / 1.512 GB, free: 1.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/1.427, allocations: 287.5 kB / 1.512 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/1.427, allocations: 87.78 kB / 1.512 GB, free: 1.203 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-05/1.427, allocations: 39.97 kB / 1.512 GB, free: 1.164 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004811/1.427, allocations: 353.6 kB / 1.513 GB, free: 0.8203 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.51e-07/1.428, allocations: 0 / 1.513 GB, free: 0.8203 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00226/1.43, allocations: 0.5273 MB / 1.513 GB, free: 300 kB / 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.007012/1.437, allocations: 4.785 MB / 1.518 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.007071/1.444, allocations: 3.631 MB / 1.521 GB, free: 7.609 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.444, allocations: 0 / 1.521 GB, free: 7.609 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00231/1.446, allocations: 1.389 MB / 1.523 GB, free: 6.168 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007997/1.447, allocations: 99.53 kB / 1.523 GB, free: 6.074 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009005/1.456, allocations: 2.765 MB / 1.525 GB, free: 3.199 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/1.457, allocations: 1.048 MB / 1.527 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001937/1.459, allocations: 0.5108 MB / 1.527 GB, free: 1.605 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/1.459, allocations: 263.3 kB / 1.527 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of SimCode: time 1.733e-06/1.459, allocations: 0 / 1.527 GB, free: 1.348 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04812/1.508, allocations: 25.77 MB / 1.552 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/1.508, allocations: 205.9 kB / 1.553 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.778/4.286, allocations: 1.406 kB / 1.553 GB, free: 7.629 MB / 0.9636 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