Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.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.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001584/0.001588, allocations: 180.8 kB / 8.135 MB, free: 2.215 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.226/1.226, allocations: 221.4 MB / 229.9 MB, free: 3.082 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.0009738/0.000974, allocations: 100.6 kB / 280.8 MB, free: 1.277 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08973/0.09074, allocations: 55.83 MB / 336.6 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.2672, allocations: 50.4 MB / 387 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09569/0.3629, allocations: 95.42 MB / 482.4 MB, free: 7.336 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.3632, allocations: 84.88 kB / 482.5 MB, free: 7.254 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.8559/1.219, allocations: 318.9 MB / 0.7826 GB, free: 22.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/1.219, allocations: 11.98 kB / 0.7826 GB, free: 22.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03149/1.251, allocations: 5.077 MB / 0.7876 GB, free: 17.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01379/1.265, allocations: 6.29 MB / 0.7937 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003898/1.265, allocations: 272 kB / 0.794 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002826/1.268, allocations: 479.9 kB / 0.7945 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02319/1.291, allocations: 13.48 MB / 0.8076 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2465/1.537, allocations: 14.39 MB / 0.8217 GB, free: 86.01 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002006/1.538, allocations: 9.469 kB / 0.8217 GB, free: 86.01 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009223/1.539, allocations: 12.28 kB / 0.8217 GB, free: 86.01 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000566/1.539, allocations: 0.8649 MB / 0.8225 GB, free: 85.98 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06196/1.601, allocations: 47.56 MB / 0.869 GB, free: 78.15 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008354/1.61, allocations: 6.81 MB / 0.8756 GB, free: 78.07 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003816/1.613, allocations: 3.621 MB / 0.8792 GB, free: 78.04 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003994/1.614, allocations: 195 kB / 0.8794 GB, free: 77.95 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/1.614, allocations: 87.25 kB / 0.8794 GB, free: 77.9 MB / 442.8 MB Notification: Performance of pre-optimization done (n=468): time 6.652e-06/1.614, allocations: 0 / 0.8794 GB, free: 77.9 MB / 442.8 MB Notification: Performance of matching and sorting (n=468): time 0.01365/1.628, allocations: 8.103 MB / 0.8873 GB, free: 77.5 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/1.628, allocations: 129.4 kB / 0.8875 GB, free: 77.41 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0043/1.632, allocations: 3.329 MB / 0.8907 GB, free: 77.12 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003129/1.632, allocations: 29.61 kB / 0.8908 GB, free: 77.09 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001332/1.634, allocations: 3.636 MB / 0.8943 GB, free: 74.91 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009645/1.635, allocations: 1.543 MB / 0.8958 GB, free: 73.91 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/1.635, allocations: 3.5 kB / 0.8958 GB, free: 73.91 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0003315/1.635, allocations: 0.6128 MB / 0.8964 GB, free: 73.59 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004634/1.64, allocations: 3.993 MB / 0.9003 GB, free: 72.38 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005472/1.645, allocations: 6.756 MB / 0.9069 GB, free: 67.38 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007992/1.653, allocations: 5.802 MB / 0.9126 GB, free: 65.43 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.628e-05/1.654, allocations: 25.75 kB / 0.9126 GB, free: 65.43 MB / 442.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02126/1.675, allocations: 12.22 MB / 0.9245 GB, free: 61.74 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.675, allocations: 5.375 kB / 0.9245 GB, free: 61.74 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/1.675, allocations: 96.53 kB / 0.9246 GB, free: 61.73 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005118/1.68, allocations: 1.619 MB / 0.9262 GB, free: 61.45 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006482/1.687, allocations: 1.652 MB / 0.9278 GB, free: 61.27 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/1.701, allocations: 14.83 MB / 0.9423 GB, free: 50.86 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005379/1.706, allocations: 0.7837 MB / 0.9431 GB, free: 50.44 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006099/1.707, allocations: 361.9 kB / 0.9434 GB, free: 50.38 MB / 442.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.0009102/1.708, allocations: 361.6 kB / 0.9438 GB, free: 50.06 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005621/1.708, allocations: 382.9 kB / 0.9441 GB, free: 49.86 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01631/1.724, allocations: 9.472 MB / 0.9534 GB, free: 46.8 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.337e-05/1.725, allocations: 50.84 kB / 0.9534 GB, free: 46.8 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.018e-05/1.725, allocations: 11.12 kB / 0.9534 GB, free: 46.8 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.535e-05/1.725, allocations: 29.83 kB / 0.9535 GB, free: 46.8 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02736/1.752, allocations: 16.84 MB / 0.9699 GB, free: 35.5 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/1.752, allocations: 4 kB / 0.9699 GB, free: 35.49 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00433/1.756, allocations: 0.8528 MB / 0.9707 GB, free: 34.77 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005149/1.762, allocations: 1.497 MB / 0.9722 GB, free: 33.76 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005273/1.762, allocations: 35.31 kB / 0.9722 GB, free: 33.73 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/1.776, allocations: 14.61 MB / 0.9865 GB, free: 19.84 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.776, allocations: 4 kB / 0.9865 GB, free: 19.83 MB / 442.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01869/1.795, allocations: 13.8 MB / 1 GB, free: 7.926 MB / 442.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1502/1.945, allocations: 19.26 MB / 1.019 GB, free: 82.95 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002466/1.948, allocations: 1.182 MB / 1.02 GB, free: 82.86 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007796/1.949, allocations: 3.5 kB / 1.02 GB, free: 82.86 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002848/1.951, allocations: 214.2 kB / 1.02 GB, free: 82.86 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005222/1.952, allocations: 261.1 kB / 1.02 GB, free: 82.85 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003603/1.952, allocations: 136.1 kB / 1.021 GB, free: 82.85 MB / 442.8 MB Notification: Performance of sort global known variables: time 0.003033/1.955, allocations: 2.419 MB / 1.023 GB, free: 82.71 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.006497/1.962, allocations: 2.179 MB / 1.025 GB, free: 82.66 MB / 442.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.0005264/1.962, allocations: 204.4 kB / 1.025 GB, free: 82.58 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01226/1.975, allocations: 9.675 MB / 1.035 GB, free: 81.88 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.975, allocations: 3.062 kB / 1.035 GB, free: 81.88 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005906/1.981, allocations: 4.562 MB / 1.039 GB, free: 81.25 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/1.983, allocations: 0.5184 MB / 1.04 GB, free: 81.23 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02511/2.008, allocations: 14.87 MB / 1.054 GB, free: 79.01 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007644/2.016, allocations: 6.535 MB / 1.061 GB, free: 78.15 MB / 442.8 MB Notification: Performance of SimCode: time 8.11e-07/2.016, allocations: 0 / 1.061 GB, free: 78.15 MB / 442.8 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat does not exist to compare? outputFormat=mat