Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",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/Complex 4.0.0+maint.om/package.mo): time 0.0009894/0.0009895, allocations: 181.2 kB / 8.132 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.108/1.108, allocations: 221.4 MB / 229.9 MB, free: 3.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008983/0.0008983, allocations: 94.2 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09071/0.09164, allocations: 55.83 MB / 336.6 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.2665, allocations: 50.4 MB / 387 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08783/0.3544, allocations: 88.38 MB / 475.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.3547, allocations: 84.42 kB / 475.5 MB, free: 14.39 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.3082/0.6629, allocations: 57.52 MB / 0.5205 GB, free: 86.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.663, allocations: 8.562 kB / 0.5205 GB, free: 86.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.6643, allocations: 260.3 kB / 0.5207 GB, free: 86.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/0.6669, allocations: 1.335 MB / 0.5221 GB, free: 85.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.047e-05/0.667, allocations: 61.22 kB / 0.5221 GB, free: 85.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.6673, allocations: 101.1 kB / 0.5222 GB, free: 85.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002911/0.6702, allocations: 1.798 MB / 0.524 GB, free: 83.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/0.6736, allocations: 2.197 MB / 0.5261 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/0.6737, allocations: 0 / 0.5261 GB, free: 81.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.6739, allocations: 7.906 kB / 0.5261 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.606e-05/0.674, allocations: 99.58 kB / 0.5262 GB, free: 81.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009694/0.6837, allocations: 7.143 MB / 0.5332 GB, free: 74.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000962/0.6847, allocations: 0.8857 MB / 0.5341 GB, free: 73.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000658/0.6853, allocations: 0.5377 MB / 0.5346 GB, free: 72.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.6856, allocations: 125.5 kB / 0.5347 GB, free: 72.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.6856, allocations: 43 kB / 0.5347 GB, free: 72.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.475e-06/0.6856, allocations: 0 / 0.5347 GB, free: 72.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.002764/0.6884, allocations: 1.748 MB / 0.5364 GB, free: 70.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.6884, allocations: 81.55 kB / 0.5365 GB, free: 70.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.6897, allocations: 1.127 MB / 0.5376 GB, free: 69.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.6897, allocations: 25.7 kB / 0.5376 GB, free: 69.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.69, allocations: 0.8574 MB / 0.5385 GB, free: 68.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.311e-05/0.6901, allocations: 185.5 kB / 0.5387 GB, free: 68.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.6902, allocations: 0 / 0.5387 GB, free: 68.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.6902, allocations: 353.9 kB / 0.539 GB, free: 68.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.6907, allocations: 418.4 kB / 0.5394 GB, free: 67.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.6914, allocations: 1.038 MB / 0.5404 GB, free: 66.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.6921, allocations: 0.6447 MB / 0.541 GB, free: 65.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.6921, allocations: 4 kB / 0.541 GB, free: 65.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.00189/0.694, allocations: 1.476 MB / 0.5425 GB, free: 64.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.694, allocations: 4 kB / 0.5425 GB, free: 64.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.694, allocations: 24 kB / 0.5425 GB, free: 64.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003532/0.6944, allocations: 137 kB / 0.5426 GB, free: 64.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008416/0.6953, allocations: 291.5 kB / 0.5429 GB, free: 63.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.6968, allocations: 2.025 MB / 0.5449 GB, free: 61.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008734/0.6977, allocations: 71.52 kB / 0.545 GB, free: 61.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/0.6978, allocations: 68 kB / 0.545 GB, free: 61.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 144 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.6979, allocations: 160.4 kB / 0.5452 GB, free: 61.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.6981, allocations: 118.6 kB / 0.5453 GB, free: 61.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.6993, allocations: 0.7556 MB / 0.546 GB, free: 60.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.6993, allocations: 4 kB / 0.546 GB, free: 60.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.6993, allocations: 4 kB / 0.546 GB, free: 60.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.6993, allocations: 15.92 kB / 0.5461 GB, free: 60.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.7025, allocations: 2.188 MB / 0.5482 GB, free: 58.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7025, allocations: 0 / 0.5482 GB, free: 58.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.7029, allocations: 103.9 kB / 0.5483 GB, free: 58.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000305/0.7032, allocations: 113.1 kB / 0.5484 GB, free: 58.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.7032, allocations: 7.984 kB / 0.5484 GB, free: 58.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.7047, allocations: 1.985 MB / 0.5503 GB, free: 56.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.7047, allocations: 4 kB / 0.5504 GB, free: 56.03 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001316/0.706, allocations: 1.388 MB / 0.5517 GB, free: 54.53 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001661/0.7077, allocations: 2.152 MB / 0.5538 GB, free: 52.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.7081, allocations: 263.7 kB / 0.5541 GB, free: 52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.7083, allocations: 11.89 kB / 0.5541 GB, free: 51.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005817/0.7089, allocations: 44.03 kB / 0.5541 GB, free: 51.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.709, allocations: 39.84 kB / 0.5542 GB, free: 51.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.709, allocations: 28 kB / 0.5542 GB, free: 51.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0009097/0.7099, allocations: 0.8327 MB / 0.555 GB, free: 51.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001805/0.7117, allocations: 323.9 kB / 0.5553 GB, free: 50.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002795/0.712, allocations: 186 kB / 0.5555 GB, free: 50.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.7133, allocations: 1.046 MB / 0.5565 GB, free: 49.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7133, allocations: 4 kB / 0.5565 GB, free: 49.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005503/0.7139, allocations: 475 kB / 0.557 GB, free: 49.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009961/0.7149, allocations: 232.8 kB / 0.5572 GB, free: 48.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.7189, allocations: 2.496 MB / 0.5596 GB, free: 46.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/0.7202, allocations: 1.831 MB / 0.5614 GB, free: 44.36 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.7202, allocations: 0 / 0.5614 GB, free: 44.36 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat