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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 175.3 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.3 MB / 235.5 MB, free: 2.938 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.0008397/0.0008396, allocations: 87.72 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.057e-05, allocations: 4 kB / 343.9 MB, free: 4.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 50.4 MB / 394.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3879/0.5073, allocations: 96.16 MB / 490.5 MB, free: 7.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.5076, allocations: 79.95 kB / 490.6 MB, free: 7.191 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.256/1.764, allocations: 315 MB / 0.7867 GB, free: 70.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.764, allocations: 0 / 0.7867 GB, free: 70.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004618/1.765, allocations: 178.5 kB / 0.7869 GB, free: 70.09 MB / 442.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.03823/1.803, allocations: 9.566 MB / 0.7962 GB, free: 66.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/1.803, allocations: 10.84 kB / 0.7962 GB, free: 66.59 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007548/1.81, allocations: 1.301 MB / 0.7975 GB, free: 65.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03082/1.841, allocations: 5.528 MB / 0.8029 GB, free: 63.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01712/1.858, allocations: 6.326 MB / 0.8091 GB, free: 57.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008153/1.859, allocations: 0.6126 MB / 0.8097 GB, free: 57.35 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005389/1.865, allocations: 0.8029 MB / 0.8105 GB, free: 56.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04282/1.908, allocations: 15.55 MB / 0.8256 GB, free: 40.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002613/1.908, allocations: 11.91 kB / 0.8257 GB, free: 40.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001984/1.91, allocations: 361.4 kB / 0.826 GB, free: 40.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007332/1.911, allocations: 0.8197 MB / 0.8268 GB, free: 39.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02905/1.94, allocations: 14.38 MB / 0.8408 GB, free: 25.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4997/2.439, allocations: 47.69 MB / 0.8874 GB, free: 52.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02111/2.461, allocations: 19.21 MB / 0.9062 GB, free: 39.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00528/2.466, allocations: 3.501 MB / 0.9096 GB, free: 39.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004291/2.466, allocations: 180.5 kB / 0.9098 GB, free: 38.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.377e-05/2.466, allocations: 84.33 kB / 0.9098 GB, free: 38.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=468): time 6.172e-06/2.466, allocations: 3.375 kB / 0.9098 GB, free: 38.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=468): time 0.01288/2.479, allocations: 7.138 MB / 0.9168 GB, free: 38.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/2.479, allocations: 134.2 kB / 0.9169 GB, free: 38.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007817/2.487, allocations: 3.429 MB / 0.9203 GB, free: 38.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001395/2.489, allocations: 103.4 kB / 0.9204 GB, free: 38.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002716/2.491, allocations: 3.897 MB / 0.9242 GB, free: 36.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002301/2.494, allocations: 1.614 MB / 0.9258 GB, free: 35.28 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004759/2.494, allocations: 148.5 kB / 0.9259 GB, free: 35.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004181/2.495, allocations: 0.6037 MB / 0.9265 GB, free: 34.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005435/2.5, allocations: 3.589 MB / 0.93 GB, free: 34.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007539/2.508, allocations: 6.391 MB / 0.9363 GB, free: 31.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008579/2.516, allocations: 5.162 MB / 0.9413 GB, free: 31.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.395e-05/2.516, allocations: 26.03 kB / 0.9413 GB, free: 31.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02341/2.54, allocations: 11.74 MB / 0.9528 GB, free: 29.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/2.54, allocations: 45.38 kB / 0.9528 GB, free: 29.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002319/2.54, allocations: 94.97 kB / 0.9529 GB, free: 29.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00501/2.545, allocations: 1.614 MB / 0.9545 GB, free: 29.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006778/2.552, allocations: 1.662 MB / 0.9561 GB, free: 29.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/2.571, allocations: 16.15 MB / 0.9719 GB, free: 17.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007992/2.579, allocations: 0.9526 MB / 0.9728 GB, free: 17.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002416/2.582, allocations: 360 kB / 0.9732 GB, free: 17.13 MB / 442.7 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.003695/2.586, allocations: 0.5616 MB / 0.9737 GB, free: 16.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001927/2.588, allocations: 389 kB / 0.9741 GB, free: 16.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02015/2.608, allocations: 8.45 MB / 0.9823 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.251e-05/2.608, allocations: 45.72 kB / 0.9824 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.182e-05/2.608, allocations: 14.19 kB / 0.9824 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-05/2.608, allocations: 25.5 kB / 0.9824 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0441/2.652, allocations: 16.76 MB / 0.9988 GB, free: 1.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-05/2.652, allocations: 7.438 kB / 0.9988 GB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004092/2.656, allocations: 0.8628 MB / 0.9996 GB, free: 300 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00505/2.661, allocations: 1.496 MB / 1.001 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00102/2.662, allocations: 102.5 kB / 1.001 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02095/2.683, allocations: 15.97 MB / 1.017 GB, free: 172 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/2.684, allocations: 0 / 1.017 GB, free: 172 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02564/2.709, allocations: 12.23 MB / 1.029 GB, free: 5.555 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003929/2.713, allocations: 1.116 MB / 1.03 GB, free: 4.535 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001745/2.715, allocations: 87.75 kB / 1.03 GB, free: 4.453 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003847/2.719, allocations: 307.9 kB / 1.03 GB, free: 4.242 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001188/2.72, allocations: 319.9 kB / 1.031 GB, free: 4.043 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007133/2.721, allocations: 135.5 kB / 1.031 GB, free: 3.918 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006569/2.727, allocations: 2.516 MB / 1.033 GB, free: 1.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.71e-07/2.727, allocations: 0 / 1.033 GB, free: 1.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.4143/3.142, allocations: 2.385 MB / 1.035 GB, free: 89.08 MB / 474.7 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.02532/3.167, allocations: 13.51 MB / 1.049 GB, free: 87.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02061/3.188, allocations: 9.156 MB / 1.058 GB, free: 86.24 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/3.188, allocations: 1.188 kB / 1.058 GB, free: 86.24 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008432/3.196, allocations: 4.379 MB / 1.062 GB, free: 85.49 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004753/3.201, allocations: 0.6396 MB / 1.062 GB, free: 85.48 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04678/3.248, allocations: 17 MB / 1.079 GB, free: 83.03 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007077/3.255, allocations: 6.184 MB / 1.085 GB, free: 82.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008507/3.263, allocations: 3.299 MB / 1.088 GB, free: 81.98 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004769/3.268, allocations: 3 MB / 1.091 GB, free: 81.97 MB / 474.7 MB Notification: Performance of SimCode: time 1.202e-06/3.268, allocations: 0 / 1.091 GB, free: 81.97 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5482/3.816, allocations: 123.4 MB / 1.212 GB, free: 71.13 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/3.817, allocations: 214.4 kB / 1.212 GB, free: 70.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.445/9.261, allocations: 3.828 kB / 1.212 GB, free: 70.91 MB / 490.7 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