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.329/2.329, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001003/0.001002, allocations: 192.5 kB / 487.4 MB, free: 5.016 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.445/1.445, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008907/0.0008906, allocations: 101.5 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.664e-05/1.659e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2398, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.282, allocations: 187.6 MB / 1.389 GB, free: 15.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/1.282, allocations: 92.19 kB / 1.389 GB, free: 15.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1118/1.394, allocations: 48.28 MB / 1.436 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.004e-06/1.394, allocations: 0 / 1.436 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.807e-05/1.394, allocations: 19.98 kB / 1.436 GB, free: 11.75 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.002025/1.396, allocations: 0.9102 MB / 1.437 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.396, allocations: 12.03 kB / 1.437 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0093/1.405, allocations: 1.55 MB / 1.439 GB, free: 9.277 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/1.407, allocations: 0.5494 MB / 1.439 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/1.407, allocations: 24 kB / 1.439 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/1.407, allocations: 36 kB / 1.439 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002132/1.409, allocations: 1.231 MB / 1.441 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/1.411, allocations: 1.257 MB / 1.442 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/1.411, allocations: 4 kB / 1.442 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.411, allocations: 4 kB / 1.442 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000229/1.411, allocations: 100.4 kB / 1.442 GB, free: 6.727 MB / 0.8542 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.008827/1.42, allocations: 6.274 MB / 1.448 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/1.422, allocations: 0.9845 MB / 1.449 GB, free: 136 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007764/1.423, allocations: 0.5377 MB / 1.45 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003052/1.426, allocations: 2.206 MB / 1.452 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/1.426, allocations: 50.17 kB / 1.452 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=69): time 2.805e-06/1.426, allocations: 0 / 1.452 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.00846/1.434, allocations: 3.606 MB / 1.455 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.755e-05/1.435, allocations: 207.6 kB / 1.456 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005225/1.435, allocations: 428.9 kB / 1.456 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.554e-05/1.435, allocations: 25.7 kB / 1.456 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/1.435, allocations: 384 kB / 1.456 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/1.436, allocations: 307.3 kB / 1.457 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.452e-05/1.436, allocations: 4 kB / 1.457 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001901/1.436, allocations: 380.1 kB / 1.457 GB, free: 9.195 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008837/1.437, allocations: 0.6122 MB / 1.458 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/1.438, allocations: 0.8947 MB / 1.458 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/1.44, allocations: 0.8592 MB / 1.459 GB, free: 7.453 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/1.44, allocations: 4 kB / 1.459 GB, free: 7.449 MB / 0.8698 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005392/1.445, allocations: 2.417 MB / 1.462 GB, free: 5.566 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001342/1.446, allocations: 3.142 MB / 1.465 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/1.446, allocations: 8 kB / 1.465 GB, free: 2.234 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/1.449, allocations: 0.724 MB / 1.465 GB, free: 1.594 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/1.451, allocations: 462 kB / 1.466 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008821/1.46, allocations: 7.164 MB / 1.473 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/1.463, allocations: 283.5 kB / 1.473 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/1.463, allocations: 59.09 kB / 1.473 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/1.463, allocations: 4 kB / 1.473 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00338/1.466, allocations: 1.743 MB / 1.475 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/1.466, allocations: 11.94 kB / 1.475 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005722/1.467, allocations: 208.2 kB / 1.475 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/1.469, allocations: 0.4992 MB / 1.476 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003798/1.473, allocations: 3.799 MB / 1.479 GB, free: 4.973 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/1.475, allocations: 263.5 kB / 1.48 GB, free: 4.715 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/1.475, allocations: 66.72 kB / 1.48 GB, free: 4.66 MB / 0.8855 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.0004143/1.476, allocations: 131.7 kB / 1.48 GB, free: 4.527 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005381/1.481, allocations: 2.124 MB / 1.482 GB, free: 2.855 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/1.481, allocations: 71.16 kB / 1.482 GB, free: 2.785 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005753/1.487, allocations: 2.31 MB / 1.484 GB, free: 0.7852 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/1.487, allocations: 12 kB / 1.484 GB, free: 0.7734 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/1.487, allocations: 7.938 kB / 1.484 GB, free: 0.7656 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/1.487, allocations: 3.984 kB / 1.484 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008089/1.495, allocations: 4.127 MB / 1.488 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.79e-05/1.495, allocations: 8 kB / 1.488 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001872/1.497, allocations: 364 kB / 1.489 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003232/1.5, allocations: 0.8383 MB / 1.489 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/1.501, allocations: 31.97 kB / 1.489 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/1.511, allocations: 8.227 MB / 1.497 GB, free: 2.574 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.213e-05/1.511, allocations: 20.45 kB / 1.497 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/1.517, allocations: 2.716 MB / 1.5 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006759/1.518, allocations: 312 kB / 1.5 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/1.518, allocations: 11.95 kB / 1.5 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/1.52, allocations: 291.5 kB / 1.501 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002893/1.52, allocations: 95.77 kB / 1.501 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.314e-05/1.52, allocations: 39.98 kB / 1.501 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004054/1.521, allocations: 330.9 kB / 1.501 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.91e-07/1.521, allocations: 0 / 1.501 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002013/1.523, allocations: 455.9 kB / 1.502 GB, free: 14.09 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.006183/1.529, allocations: 4.82 MB / 1.506 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005528/1.534, allocations: 3.152 MB / 1.509 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/1.534, allocations: 0 / 1.509 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001979/1.536, allocations: 1.324 MB / 1.511 GB, free: 4.516 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007752/1.537, allocations: 83.83 kB / 1.511 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008504/1.546, allocations: 2.679 MB / 1.513 GB, free: 1.645 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007105/1.546, allocations: 1.044 MB / 1.514 GB, free: 0.5703 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001983/1.548, allocations: 0.4953 MB / 1.515 GB, free: 72 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005025/1.549, allocations: 263.4 kB / 1.515 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of SimCode: time 6.91e-07/1.549, allocations: 0 / 1.515 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04951/1.599, allocations: 23.97 MB / 1.539 GB, free: 7.906 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/1.599, allocations: 156.2 kB / 1.539 GB, free: 7.719 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/4.515, allocations: 0 / 1.539 GB, free: 7.719 MB / 0.948 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