Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002318/0.002318, allocations: 180.9 kB / 13.65 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.2 MB / 219.4 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.627e-05/5.643e-05, allocations: 3.984 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 47.57 MB / 369.2 MB, free: 2.098 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4726/0.5803, allocations: 94.52 MB / 463.7 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000442/0.5808, allocations: 82.39 kB / 463.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844/2.425, allocations: 310.8 MB / 0.7564 GB, free: 70.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.435e-06/2.425, allocations: 0 / 0.7564 GB, free: 70.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005607/2.426, allocations: 179 kB / 0.7566 GB, free: 70.49 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.04969/2.475, allocations: 9.567 MB / 0.7659 GB, free: 67.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/2.475, allocations: 10.91 kB / 0.766 GB, free: 67.55 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00701/2.482, allocations: 1.303 MB / 0.7672 GB, free: 66.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04659/2.529, allocations: 5.517 MB / 0.7726 GB, free: 66.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02157/2.551, allocations: 6.126 MB / 0.7786 GB, free: 63.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00128/2.552, allocations: 0.6324 MB / 0.7792 GB, free: 62.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005113/2.557, allocations: 0.8085 MB / 0.78 GB, free: 62.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05446/2.612, allocations: 16.67 MB / 0.7963 GB, free: 45.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005207/2.612, allocations: 11.91 kB / 0.7963 GB, free: 45.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004508/2.617, allocations: 347 kB / 0.7966 GB, free: 45.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001137/2.618, allocations: 0.7246 MB / 0.7973 GB, free: 44.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04695/2.665, allocations: 15.97 MB / 0.8129 GB, free: 28.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4876/3.152, allocations: 51.26 MB / 0.863 GB, free: 55.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03132/3.184, allocations: 13.71 MB / 0.8764 GB, free: 53.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0217/3.206, allocations: 9.282 MB / 0.8854 GB, free: 53.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001724/3.207, allocations: 320 kB / 0.8857 GB, free: 53.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/3.208, allocations: 117.5 kB / 0.8859 GB, free: 53.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=968): time 1.454e-05/3.208, allocations: 0 / 0.8859 GB, free: 53.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=968): time 0.0496/3.257, allocations: 17.25 MB / 0.9027 GB, free: 48.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/3.257, allocations: 156.9 kB / 0.9029 GB, free: 48.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0038/3.261, allocations: 1.625 MB / 0.9044 GB, free: 48.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002455/3.264, allocations: 148.3 kB / 0.9046 GB, free: 48.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00195/3.266, allocations: 2.486 MB / 0.907 GB, free: 46.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005832/3.272, allocations: 3.15 MB / 0.9101 GB, free: 44.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002434/3.274, allocations: 129.5 kB / 0.9102 GB, free: 44.14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001138/3.275, allocations: 0.6477 MB / 0.9108 GB, free: 43.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01716/3.292, allocations: 6.441 MB / 0.9171 GB, free: 41.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01864/3.311, allocations: 7.066 MB / 0.924 GB, free: 38.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01915/3.33, allocations: 7.461 MB / 0.9313 GB, free: 35.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.222e-05/3.33, allocations: 9.5 kB / 0.9313 GB, free: 35.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.04946/3.38, allocations: 17.85 MB / 0.9488 GB, free: 24.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/3.38, allocations: 8 kB / 0.9488 GB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/3.38, allocations: 7.953 kB / 0.9488 GB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02263/3.403, allocations: 6.585 MB / 0.9552 GB, free: 19.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01125/3.414, allocations: 1.172 MB / 0.9563 GB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02441/3.439, allocations: 12.72 MB / 0.9688 GB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00864/3.447, allocations: 0.7874 MB / 0.9695 GB, free: 6.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002827/3.45, allocations: 268.1 kB / 0.9698 GB, free: 6.328 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 520 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of prepare postOptimizeDAE: time 0.004098/3.454, allocations: 430 kB / 0.9702 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002776/3.457, allocations: 408.9 kB / 0.9706 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07069/3.528, allocations: 19.91 MB / 0.99 GB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006513/3.529, allocations: 272.6 kB / 0.9903 GB, free: 6.422 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.486e-05/3.529, allocations: 7.562 kB / 0.9903 GB, free: 6.418 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001876/3.529, allocations: 35.39 kB / 0.9903 GB, free: 6.418 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4556/3.984, allocations: 34.2 MB / 1.024 GB, free: 93.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001855/3.985, allocations: 1.031 kB / 1.024 GB, free: 93.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0108/3.995, allocations: 1.103 MB / 1.025 GB, free: 93.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02596/4.022, allocations: 6.586 MB / 1.031 GB, free: 93.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002989/4.025, allocations: 206.4 kB / 1.031 GB, free: 93.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02699/4.052, allocations: 12.69 MB / 1.044 GB, free: 91.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/4.052, allocations: 0 / 1.044 GB, free: 91.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07947/4.131, allocations: 28.55 MB / 1.072 GB, free: 87.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008286/4.14, allocations: 2.077 MB / 1.074 GB, free: 86.56 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003421/4.143, allocations: 125.6 kB / 1.074 GB, free: 86.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008288/4.151, allocations: 422.4 kB / 1.074 GB, free: 86.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004236/4.156, allocations: 0.7066 MB / 1.075 GB, free: 86.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002906/4.159, allocations: 266.5 kB / 1.075 GB, free: 86.15 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002922/4.162, allocations: 1.256 MB / 1.076 GB, free: 85.69 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.212e-06/4.162, allocations: 0 / 1.076 GB, free: 85.69 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01206/4.174, allocations: 2.39 MB / 1.079 GB, free: 85.25 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (574): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.08052/4.254, allocations: 29.44 MB / 1.108 GB, free: 71.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.04462/4.299, allocations: 15.54 MB / 1.123 GB, free: 58.01 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/4.299, allocations: 2.125 kB / 1.123 GB, free: 58.01 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02609/4.325, allocations: 8.362 MB / 1.131 GB, free: 50.72 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007354/4.333, allocations: 0.5967 MB / 1.131 GB, free: 50.26 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06838/4.401, allocations: 22.53 MB / 1.153 GB, free: 30.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01437/4.415, allocations: 6.254 MB / 1.16 GB, free: 25.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01052/4.426, allocations: 2.985 MB / 1.162 GB, free: 23.13 MB / 458.7 MB Notification: Performance of SimCode: time 1.934e-06/4.426, allocations: 0 / 1.162 GB, free: 23.13 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.478/9.904, allocations: 359.2 MB / 1.513 GB, free: 11.04 MB / 474.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat