Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001334/0.001334, allocations: 203.4 kB / 8.543 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.144/1.144, allocations: 225.5 MB / 234.4 MB, free: 3.371 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008721/0.0008722, allocations: 97.02 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09755/0.09845, allocations: 56.91 MB / 343.2 MB, free: 8.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.2057, allocations: 51.48 MB / 394.7 MB, free: 5.105 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2561/0.4618, allocations: 89.19 MB / 483.9 MB, free: 3.969 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.4621, allocations: 82.77 kB / 484 MB, free: 3.926 MB / 346.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.183/0.645, allocations: 57.54 MB / 0.5288 GB, free: 15.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.6451, allocations: 8 kB / 0.5288 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008861/0.646, allocations: 301.3 kB / 0.5291 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.648, allocations: 1.329 MB / 0.5304 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.648, allocations: 56 kB / 0.5305 GB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.6483, allocations: 103.9 kB / 0.5306 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002691/0.651, allocations: 1.796 MB / 0.5323 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003128/0.6541, allocations: 2.195 MB / 0.5345 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.6541, allocations: 4 kB / 0.5345 GB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.6543, allocations: 3.984 kB / 0.5345 GB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.913e-05/0.6544, allocations: 103.6 kB / 0.5346 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009515/0.6639, allocations: 7.149 MB / 0.5416 GB, free: 2.285 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.665, allocations: 0.8857 MB / 0.5424 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007425/0.6658, allocations: 0.5378 MB / 0.543 GB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.666, allocations: 125.4 kB / 0.5431 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.6661, allocations: 39 kB / 0.5431 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 2.354e-06/0.6661, allocations: 0 / 0.5431 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.002859/0.669, allocations: 1.752 MB / 0.5448 GB, free: 14.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.669, allocations: 89.55 kB / 0.5449 GB, free: 14.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.6704, allocations: 1.119 MB / 0.546 GB, free: 13.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.6704, allocations: 29.7 kB / 0.546 GB, free: 13.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004777/0.6709, allocations: 0.8497 MB / 0.5469 GB, free: 12.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.671, allocations: 189.4 kB / 0.547 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.6711, allocations: 0 / 0.547 GB, free: 12.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6712, allocations: 353.9 kB / 0.5474 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/0.6718, allocations: 410.4 kB / 0.5478 GB, free: 11.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000976/0.6728, allocations: 1.046 MB / 0.5488 GB, free: 10.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007974/0.6736, allocations: 0.6408 MB / 0.5494 GB, free: 9.703 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.6736, allocations: 11.94 kB / 0.5494 GB, free: 9.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002099/0.6757, allocations: 1.456 MB / 0.5509 GB, free: 8.227 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.6757, allocations: 8 kB / 0.5509 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.6757, allocations: 24 kB / 0.5509 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003779/0.6761, allocations: 156.9 kB / 0.551 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009111/0.6771, allocations: 287.5 kB / 0.5513 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.679, allocations: 2.025 MB / 0.5533 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008522/0.6799, allocations: 67.67 kB / 0.5534 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.68, allocations: 75.94 kB / 0.5534 GB, free: 5.473 MB / 426.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.0001702/0.6802, allocations: 160.3 kB / 0.5536 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.6804, allocations: 110.7 kB / 0.5537 GB, free: 5.199 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.6817, allocations: 0.7568 MB / 0.5544 GB, free: 4.426 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.6817, allocations: 15.84 kB / 0.5544 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.6817, allocations: 0 / 0.5544 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.6817, allocations: 3.984 kB / 0.5544 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/0.6849, allocations: 2.184 MB / 0.5566 GB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.685, allocations: 4 kB / 0.5566 GB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/0.6854, allocations: 100.2 kB / 0.5567 GB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000315/0.6857, allocations: 108.8 kB / 0.5568 GB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.6858, allocations: 16 kB / 0.5568 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.6876, allocations: 1.978 MB / 0.5587 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.6876, allocations: 4.125 kB / 0.5587 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001592/0.6892, allocations: 1.391 MB / 0.5601 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0021/0.6913, allocations: 2.149 MB / 0.5622 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/0.6917, allocations: 263.6 kB / 0.5624 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.6919, allocations: 8 kB / 0.5624 GB, free: 11.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/0.6925, allocations: 48.03 kB / 0.5625 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.6926, allocations: 39.86 kB / 0.5625 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.6927, allocations: 23.98 kB / 0.5625 GB, free: 11.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001104/0.6938, allocations: 0.8327 MB / 0.5634 GB, free: 10.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001874/0.6957, allocations: 319.9 kB / 0.5637 GB, free: 10.51 MB / 442.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.0002957/0.696, allocations: 188.5 kB / 0.5638 GB, free: 10.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.6974, allocations: 1.049 MB / 0.5649 GB, free: 9.262 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6975, allocations: 0 / 0.5649 GB, free: 9.262 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006165/0.6981, allocations: 466.4 kB / 0.5653 GB, free: 8.797 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009705/0.6991, allocations: 232.4 kB / 0.5655 GB, free: 8.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004006/0.7031, allocations: 2.508 MB / 0.568 GB, free: 5.977 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/0.7045, allocations: 1.824 MB / 0.5698 GB, free: 4.121 MB / 442.7 MB Notification: Performance of SimCode: time 3.8e-07/0.7045, allocations: 0 / 0.5698 GB, free: 4.121 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat does not exist to compare? outputFormat=mat