Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.848/1.848, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009274/0.0009274, allocations: 177.3 kB / 487 MB, free: 5.363 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.221/1.221, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.0008545/0.0008545, allocations: 95.03 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4379/0.4388, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.6333, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5507/1.184, allocations: 191.2 MB / 1.392 GB, free: 2.004 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/1.184, allocations: 90.69 kB / 1.392 GB, free: 1.953 MB / 0.823 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.1125/1.297, allocations: 49.79 MB / 1.441 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/1.297, allocations: 12 kB / 1.441 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008885/1.306, allocations: 1.184 MB / 1.442 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/1.307, allocations: 0.5589 MB / 1.442 GB, free: 6.109 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/1.307, allocations: 24 kB / 1.443 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/1.307, allocations: 32 kB / 1.443 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002159/1.309, allocations: 1.267 MB / 1.444 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/1.311, allocations: 1.294 MB / 1.445 GB, free: 4.094 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/1.311, allocations: 7.984 kB / 1.445 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.311, allocations: 0 / 1.445 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001963/1.311, allocations: 101.9 kB / 1.445 GB, free: 3.996 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008342/1.32, allocations: 6.233 MB / 1.451 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/1.321, allocations: 0.9221 MB / 1.452 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007147/1.322, allocations: 0.5651 MB / 1.453 GB, free: 13.08 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002482/1.324, allocations: 2.219 MB / 1.455 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/1.324, allocations: 57.42 kB / 1.455 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=69): time 2.384e-06/1.324, allocations: 0 / 1.455 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=93): time 0.008626/1.333, allocations: 3.574 MB / 1.458 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/1.333, allocations: 195.6 kB / 1.459 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/1.333, allocations: 437.9 kB / 1.459 GB, free: 7.496 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.517e-05/1.334, allocations: 29.7 kB / 1.459 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/1.334, allocations: 353 kB / 1.459 GB, free: 7.145 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/1.334, allocations: 311.3 kB / 1.46 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.279e-05/1.334, allocations: 0 / 1.46 GB, free: 6.871 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001882/1.334, allocations: 382.1 kB / 1.46 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008398/1.335, allocations: 0.6394 MB / 1.461 GB, free: 6.105 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009959/1.336, allocations: 0.9168 MB / 1.462 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/1.338, allocations: 0.8815 MB / 1.462 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.338, allocations: 4 kB / 1.462 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005341/1.343, allocations: 2.388 MB / 1.465 GB, free: 2.848 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001013/1.344, allocations: 3.14 MB / 1.468 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/1.344, allocations: 12 kB / 1.468 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002789/1.347, allocations: 0.6721 MB / 1.468 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/1.349, allocations: 393 kB / 1.469 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007869/1.357, allocations: 6.92 MB / 1.476 GB, free: 8.211 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/1.359, allocations: 199.7 kB / 1.476 GB, free: 8.016 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/1.359, allocations: 60.72 kB / 1.476 GB, free: 7.965 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.685e-06/1.359, allocations: 8 kB / 1.476 GB, free: 7.957 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003335/1.362, allocations: 1.785 MB / 1.478 GB, free: 6.625 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.362, allocations: 8 kB / 1.478 GB, free: 6.617 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006145/1.363, allocations: 215.2 kB / 1.478 GB, free: 6.441 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/1.365, allocations: 440.5 kB / 1.478 GB, free: 6.012 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/1.369, allocations: 3.67 MB / 1.482 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/1.37, allocations: 199.7 kB / 1.482 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/1.371, allocations: 63.59 kB / 1.482 GB, free: 2.352 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.0003019/1.371, allocations: 129 kB / 1.482 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/1.371, allocations: 71.16 kB / 1.482 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005681/1.377, allocations: 2.355 MB / 1.485 GB, free: 320 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/1.377, allocations: 15.89 kB / 1.485 GB, free: 304 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.377, allocations: 12 kB / 1.485 GB, free: 292 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/1.377, allocations: 3.984 kB / 1.485 GB, free: 288 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007449/1.384, allocations: 4.111 MB / 1.489 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.384, allocations: 8.531 kB / 1.489 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/1.386, allocations: 291.5 kB / 1.489 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002979/1.389, allocations: 0.7916 MB / 1.49 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.425e-05/1.389, allocations: 19.97 kB / 1.49 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008428/1.398, allocations: 7.921 MB / 1.497 GB, free: 2.539 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.398, allocations: 8 kB / 1.497 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005152/1.403, allocations: 2.698 MB / 1.5 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005223/1.408, allocations: 3.096 MB / 1.503 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/1.408, allocations: 316 kB / 1.503 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/1.409, allocations: 11.94 kB / 1.503 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/1.411, allocations: 203.7 kB / 1.504 GB, free: 11.73 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/1.411, allocations: 59.83 kB / 1.504 GB, free: 11.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/1.411, allocations: 43.97 kB / 1.504 GB, free: 11.63 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0003666/1.411, allocations: 330.9 kB / 1.504 GB, free: 11.31 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002766/1.414, allocations: 447.9 kB / 1.504 GB, free: 10.88 MB / 0.9323 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.000218/1.414, allocations: 134.9 kB / 1.505 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005089/1.419, allocations: 3.114 MB / 1.508 GB, free: 7.566 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.419, allocations: 4.062 kB / 1.508 GB, free: 7.562 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001886/1.421, allocations: 1.265 MB / 1.509 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/1.422, allocations: 78.84 kB / 1.509 GB, free: 6.184 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008122/1.43, allocations: 2.377 MB / 1.511 GB, free: 3.707 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.431, allocations: 1.144 MB / 1.512 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of SimCode: time 4.51e-07/1.431, allocations: 0 / 1.512 GB, free: 2.539 MB / 0.9323 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformer.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer_res.mat does not exist to compare? outputFormat=mat