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.001071/0.001071, allocations: 177.1 kB / 8.35 MB, free: 0.7266 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.384/1.384, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.0009568/0.0009567, allocations: 84.7 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.587e-05/1.579e-05, allocations: 4 kB / 337.2 MB, free: 9.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09804/0.09807, allocations: 50.42 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3208/0.4189, allocations: 95.49 MB / 483.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4192, allocations: 83.94 kB / 483.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.109/1.528, allocations: 311.7 MB / 0.7762 GB, free: 58.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.528, allocations: 0 / 0.7762 GB, free: 58.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000527/1.529, allocations: 179.4 kB / 0.7764 GB, free: 58.15 MB / 426.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.03638/1.565, allocations: 9.56 MB / 0.7858 GB, free: 55.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/1.565, allocations: 10.16 kB / 0.7858 GB, free: 55.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03095/1.596, allocations: 5.511 MB / 0.7911 GB, free: 55.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01769/1.614, allocations: 6.327 MB / 0.7973 GB, free: 53.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007184/1.615, allocations: 269 kB / 0.7976 GB, free: 53.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005795/1.621, allocations: 488 kB / 0.798 GB, free: 53.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02846/1.649, allocations: 13.2 MB / 0.8109 GB, free: 44.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04043/1.69, allocations: 14.14 MB / 0.8247 GB, free: 31.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003498/1.69, allocations: 19.89 kB / 0.8248 GB, free: 31.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002846/1.693, allocations: 11 kB / 0.8248 GB, free: 31.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000732/1.694, allocations: 0.8237 MB / 0.8256 GB, free: 31.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4312/2.125, allocations: 47.35 MB / 0.8718 GB, free: 68.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0235/2.149, allocations: 19.44 MB / 0.8908 GB, free: 55.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007202/2.156, allocations: 3.626 MB / 0.8943 GB, free: 55.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006234/2.156, allocations: 183.6 kB / 0.8945 GB, free: 55.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.456e-05/2.157, allocations: 82.2 kB / 0.8946 GB, free: 55.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=468): time 6.563e-06/2.157, allocations: 0 / 0.8946 GB, free: 55.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=468): time 0.01877/2.175, allocations: 8.448 MB / 0.9028 GB, free: 54.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/2.175, allocations: 128.8 kB / 0.903 GB, free: 54.85 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00847/2.184, allocations: 3.245 MB / 0.9061 GB, free: 54.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001357/2.185, allocations: 25.7 kB / 0.9062 GB, free: 54.56 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002767/2.188, allocations: 3.881 MB / 0.9099 GB, free: 52.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002577/2.191, allocations: 1.548 MB / 0.9115 GB, free: 51.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004843/2.191, allocations: 0 / 0.9115 GB, free: 51.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004964/2.192, allocations: 0.6138 MB / 0.9121 GB, free: 51.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005675/2.197, allocations: 3.694 MB / 0.9157 GB, free: 51.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008326/2.206, allocations: 6.458 MB / 0.922 GB, free: 48.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01145/2.217, allocations: 6.43 MB / 0.9282 GB, free: 47.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001655/2.217, allocations: 34.16 kB / 0.9283 GB, free: 47.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02729/2.245, allocations: 12.61 MB / 0.9406 GB, free: 47.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001754/2.245, allocations: 44.59 kB / 0.9406 GB, free: 47.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002201/2.245, allocations: 91.88 kB / 0.9407 GB, free: 47.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004944/2.25, allocations: 1.602 MB / 0.9423 GB, free: 46.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007376/2.258, allocations: 1.728 MB / 0.944 GB, free: 46.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/2.276, allocations: 15.63 MB / 0.9592 GB, free: 35.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007817/2.284, allocations: 0.8613 MB / 0.9601 GB, free: 35.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002284/2.286, allocations: 356 kB / 0.9604 GB, free: 35.5 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.003303/2.29, allocations: 364.6 kB / 0.9608 GB, free: 35.25 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01863/2.308, allocations: 8.457 MB / 0.969 GB, free: 32.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/2.31, allocations: 386.3 kB / 0.9694 GB, free: 32.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02176/2.332, allocations: 9.679 MB / 0.9788 GB, free: 29.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.429e-05/2.332, allocations: 55.42 kB / 0.9789 GB, free: 29.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.865e-05/2.332, allocations: 11.69 kB / 0.9789 GB, free: 29.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000122/2.332, allocations: 24.61 kB / 0.9789 GB, free: 29.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04188/2.374, allocations: 17.1 MB / 0.9956 GB, free: 16.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/2.374, allocations: 4 kB / 0.9956 GB, free: 16.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004626/2.379, allocations: 0.9195 MB / 0.9965 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004834/2.383, allocations: 1.472 MB / 0.998 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001452/2.385, allocations: 39.11 kB / 0.998 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01666/2.402, allocations: 15.44 MB / 1.013 GB, free: 60 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/2.402, allocations: 0 / 1.013 GB, free: 60 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02833/2.43, allocations: 13.87 MB / 1.027 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00426/2.434, allocations: 1.177 MB / 1.028 GB, free: 3.289 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001438/2.436, allocations: 3.703 kB / 1.028 GB, free: 3.289 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003688/2.44, allocations: 292.5 kB / 1.028 GB, free: 3.129 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008707/2.44, allocations: 325 kB / 1.028 GB, free: 2.922 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000373/2.441, allocations: 138.3 kB / 1.029 GB, free: 2.793 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005412/2.446, allocations: 2.339 MB / 1.031 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.51e-07/2.446, allocations: 3.719 kB / 1.031 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0147/2.461, allocations: 2.347 MB / 1.033 GB, free: 14.94 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.02829/2.489, allocations: 15.05 MB / 1.048 GB, free: 2.098 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.3224/2.812, allocations: 9.294 MB / 1.057 GB, free: 94.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/2.812, allocations: 0 / 1.057 GB, free: 94.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01084/2.823, allocations: 4.483 MB / 1.061 GB, free: 93.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004756/2.828, allocations: 0.5336 MB / 1.062 GB, free: 93.54 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04541/2.873, allocations: 16.9 MB / 1.078 GB, free: 91.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009431/2.882, allocations: 6.184 MB / 1.084 GB, free: 90.22 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009892/2.892, allocations: 3.424 MB / 1.088 GB, free: 90.12 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006988/2.899, allocations: 3.009 MB / 1.091 GB, free: 90.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.874e-06/2.9, allocations: 0 / 1.091 GB, free: 90.12 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1898/3.089, allocations: 121.3 MB / 1.209 GB, free: 13.82 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/3.09, allocations: 190.1 kB / 1.209 GB, free: 13.62 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.424/8.514, allocations: 1.312 kB / 1.209 GB, free: 13.62 MB / 474.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