Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",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.001043/0.001043, allocations: 191.1 kB / 8.534 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.168/1.168, allocations: 225.5 MB / 234.4 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009114/0.0009114, allocations: 93.44 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08857/0.08951, allocations: 56.91 MB / 343.2 MB, free: 8.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07948/0.169, allocations: 51.47 MB / 394.7 MB, free: 5.016 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.209/0.378, allocations: 96.3 MB / 491 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.3783, allocations: 85.62 kB / 491.1 MB, free: 12.92 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.8567/1.235, allocations: 336.8 MB / 0.8085 GB, free: 51.06 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/1.235, allocations: 10.72 kB / 0.8085 GB, free: 51.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0331/1.268, allocations: 5.075 MB / 0.8134 GB, free: 50.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/1.281, allocations: 6.285 MB / 0.8196 GB, free: 49.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004094/1.282, allocations: 270 kB / 0.8198 GB, free: 49.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001859/1.283, allocations: 487 kB / 0.8203 GB, free: 49.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02149/1.305, allocations: 13.47 MB / 0.8335 GB, free: 48.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02148/1.326, allocations: 14.4 MB / 0.8475 GB, free: 42.19 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001865/1.327, allocations: 14.22 kB / 0.8475 GB, free: 42.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009316/1.328, allocations: 3.406 kB / 0.8475 GB, free: 42.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008009/1.328, allocations: 0.8671 MB / 0.8484 GB, free: 41.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05665/1.385, allocations: 48.38 MB / 0.8956 GB, free: 5.445 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007863/1.393, allocations: 6.819 MB / 0.9023 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004504/1.397, allocations: 3.617 MB / 0.9058 GB, free: 11.11 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004557/1.398, allocations: 283 kB / 0.9061 GB, free: 10.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.752e-05/1.398, allocations: 82.5 kB / 0.9062 GB, free: 10.72 MB / 458.7 MB Notification: Performance of pre-optimization done (n=468): time 6.612e-06/1.398, allocations: 4 kB / 0.9062 GB, free: 10.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=468): time 0.01509/1.413, allocations: 8.102 MB / 0.9141 GB, free: 2.602 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/1.413, allocations: 129.1 kB / 0.9142 GB, free: 2.457 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.23/1.643, allocations: 3.323 MB / 0.9175 GB, free: 104.6 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000751/1.644, allocations: 29.45 kB / 0.9175 GB, free: 104.6 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/1.645, allocations: 3.638 MB / 0.921 GB, free: 103.1 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/1.646, allocations: 1.546 MB / 0.9225 GB, free: 102.1 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003911/1.647, allocations: 0 / 0.9225 GB, free: 102.1 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004217/1.647, allocations: 0.6146 MB / 0.9231 GB, free: 101.8 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004509/1.652, allocations: 3.991 MB / 0.927 GB, free: 101.8 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005264/1.657, allocations: 6.754 MB / 0.9336 GB, free: 98.41 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007642/1.665, allocations: 5.801 MB / 0.9393 GB, free: 98.34 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.911e-05/1.665, allocations: 25.88 kB / 0.9393 GB, free: 98.34 MB / 458.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01844/1.683, allocations: 12.22 MB / 0.9513 GB, free: 97.91 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.683, allocations: 7 kB / 0.9513 GB, free: 97.91 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/1.683, allocations: 100.7 kB / 0.9514 GB, free: 97.9 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004694/1.688, allocations: 1.613 MB / 0.9529 GB, free: 97.85 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005916/1.694, allocations: 1.647 MB / 0.9545 GB, free: 97.85 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/1.708, allocations: 14.82 MB / 0.969 GB, free: 90.09 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004951/1.713, allocations: 0.7823 MB / 0.9698 GB, free: 89.68 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007011/1.713, allocations: 364.1 kB / 0.9701 GB, free: 89.68 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009268/1.714, allocations: 363.3 kB / 0.9705 GB, free: 89.47 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005727/1.715, allocations: 391.7 kB / 0.9708 GB, free: 89.27 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/1.731, allocations: 9.466 MB / 0.9801 GB, free: 88.88 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-05/1.731, allocations: 48.16 kB / 0.9801 GB, free: 88.88 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-05/1.731, allocations: 10.78 kB / 0.9801 GB, free: 88.88 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.905e-05/1.731, allocations: 28.31 kB / 0.9802 GB, free: 88.87 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02551/1.757, allocations: 16.83 MB / 0.9966 GB, free: 86.18 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/1.757, allocations: 3.938 kB / 0.9966 GB, free: 86.18 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003865/1.761, allocations: 0.8485 MB / 0.9974 GB, free: 86.12 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00443/1.765, allocations: 1.489 MB / 0.9989 GB, free: 85.83 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003576/1.766, allocations: 44 kB / 0.9989 GB, free: 85.82 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/1.779, allocations: 14.63 MB / 1.013 GB, free: 75.46 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.779, allocations: 2.938 kB / 1.013 GB, free: 75.46 MB / 458.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01939/1.799, allocations: 13.79 MB / 1.027 GB, free: 70.15 MB / 458.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02333/1.822, allocations: 19.26 MB / 1.046 GB, free: 62.34 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/1.824, allocations: 1.184 MB / 1.047 GB, free: 61.27 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007495/1.825, allocations: 7.906 kB / 1.047 GB, free: 61.26 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002637/1.828, allocations: 211 kB / 1.047 GB, free: 61.12 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005392/1.828, allocations: 250.9 kB / 1.047 GB, free: 60.98 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004039/1.829, allocations: 139.2 kB / 1.047 GB, free: 60.85 MB / 458.8 MB Notification: Performance of sort global known variables: time 0.002903/1.832, allocations: 2.424 MB / 1.05 GB, free: 58.77 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008106/1.84, allocations: 2.193 MB / 1.052 GB, free: 56.58 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005335/1.84, allocations: 210.2 kB / 1.052 GB, free: 56.38 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01148/1.852, allocations: 9.672 MB / 1.061 GB, free: 47.66 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.852, allocations: 4.75 kB / 1.061 GB, free: 47.66 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005567/1.858, allocations: 4.566 MB / 1.066 GB, free: 43.51 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/1.86, allocations: 0.5097 MB / 1.066 GB, free: 43.11 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/1.882, allocations: 14.86 MB / 1.081 GB, free: 29.92 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007072/1.889, allocations: 6.55 MB / 1.087 GB, free: 24.82 MB / 458.8 MB Notification: Performance of SimCode: time 8.21e-07/1.889, allocations: 3.938 kB / 1.087 GB, free: 24.82 MB / 458.8 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat