Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.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.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Magnetic_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.001735/0.00174, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.017/2.017, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001138/0.001138, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003753/0.0003753, allocations: 8 kB / 327.1 MB, free: 15.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09814/0.09855, allocations: 47.58 MB / 374.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006536/0.1051, allocations: 3.717 MB / 378.4 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004331/0.1095, allocations: 1.626 MB / 380 MB, free: 9.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005878/0.1102, allocations: 19.88 kB / 380 MB, free: 9.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008022/0.111, allocations: 206.9 kB / 380.2 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.1133, allocations: 0.5489 MB / 380.8 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008188/0.1142, allocations: 163.7 kB / 380.9 MB, free: 9.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003096/0.1173, allocations: 1.185 MB / 382.1 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.1199, allocations: 0.8696 MB / 383 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.1218, allocations: 0.5488 MB / 383.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.1244, allocations: 0.7043 MB / 384.2 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006551/0.1251, allocations: 84 kB / 384.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.1266, allocations: 191.9 kB / 384.5 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.1278, allocations: 394.8 kB / 384.9 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.1291, allocations: 324.9 kB / 385.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005556/0.1347, allocations: 2.022 MB / 387.2 MB, free: 2.699 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.1348, allocations: 4 kB / 387.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.1348, allocations: 0 / 387.2 MB, free: 2.695 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001006/0.1349, allocations: 0 / 387.2 MB, free: 2.695 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.01165/0.1466, allocations: 1.918 MB / 389.1 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.8e-05/0.1467, allocations: 12.03 kB / 389.2 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001233/0.148, allocations: 210.6 kB / 389.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006036/0.1541, allocations: 365.7 kB / 389.7 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3004/0.4545, allocations: 0.9908 MB / 390.7 MB, free: 18.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.4547, allocations: 99.77 kB / 390.8 MB, free: 18.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005295/0.4553, allocations: 138.4 kB / 390.9 MB, free: 18.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006914/0.4622, allocations: 1.884 MB / 392.8 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-05/0.4623, allocations: 0.5625 kB / 392.8 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/0.4625, allocations: 55.3 kB / 392.9 MB, free: 18.37 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.453e-05/0.4626, allocations: 50.38 kB / 392.9 MB, free: 18.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005579/0.4682, allocations: 1.698 MB / 394.6 MB, free: 17.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01628/0.4846, allocations: 5.632 MB / 400.3 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004701/0.4893, allocations: 2.9 MB / 403.2 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003986/0.4934, allocations: 1.544 MB / 404.7 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.4934, allocations: 42.11 kB / 404.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=53): time 4.088e-06/0.4935, allocations: 0 / 404.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=53): time 0.005739/0.4992, allocations: 1.445 MB / 406.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.4993, allocations: 85.89 kB / 406.3 MB, free: 10.33 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/0.5016, allocations: 1.025 MB / 407.3 MB, free: 9.766 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.5018, allocations: 41.05 kB / 407.3 MB, free: 9.723 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004785/0.5023, allocations: 0.6722 MB / 408 MB, free: 9.109 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.5025, allocations: 189.3 kB / 408.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/0.5026, allocations: 9.562 kB / 408.2 MB, free: 8.941 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.5027, allocations: 338.7 kB / 408.5 MB, free: 8.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.5037, allocations: 374.2 kB / 408.9 MB, free: 8.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.5049, allocations: 0.5203 MB / 409.4 MB, free: 8.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.5062, allocations: 443.2 kB / 409.9 MB, free: 7.816 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.5063, allocations: 5.375 kB / 409.9 MB, free: 7.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002685/0.509, allocations: 0.959 MB / 410.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.509, allocations: 11.59 kB / 410.8 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.5091, allocations: 5.797 kB / 410.8 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/0.5091, allocations: 7.906 kB / 410.8 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.5106, allocations: 183.5 kB / 411 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.566e-05/0.5107, allocations: 23.09 kB / 411 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.5118, allocations: 94.98 kB / 411.1 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-05/0.5119, allocations: 34.08 kB / 411.2 MB, free: 7.203 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001511/0.5134, allocations: 0.5198 MB / 411.7 MB, free: 6.848 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/0.5138, allocations: 87.56 kB / 411.8 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.5161, allocations: 0.7072 MB / 412.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.5162, allocations: 6.281 kB / 412.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.5162, allocations: 2.281 kB / 412.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.5163, allocations: 0 / 412.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004434/0.5207, allocations: 1.674 MB / 414.2 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.5208, allocations: 0.875 kB / 414.2 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009423/0.5217, allocations: 99.25 kB / 414.3 MB, free: 5.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000725/0.5225, allocations: 151.6 kB / 414.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.5226, allocations: 15.92 kB / 414.4 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004308/0.5269, allocations: 2.668 MB / 417.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.527, allocations: 1.875 kB / 417.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/0.5308, allocations: 1.55 MB / 418.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/0.5313, allocations: 197 kB / 418.8 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/0.5316, allocations: 20 kB / 418.9 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.5327, allocations: 67.92 kB / 418.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/0.5329, allocations: 51.92 kB / 419 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.949e-05/0.533, allocations: 16 kB / 419 MB, free: 1.012 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001393/0.5344, allocations: 0.7254 MB / 419.7 MB, free: 296 kB / 282.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5345, allocations: 0 / 419.7 MB, free: 296 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.001714/0.5362, allocations: 357.9 kB / 420.1 MB, free: 15.94 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00519/0.5414, allocations: 2.416 MB / 422.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.544, allocations: 0.798 MB / 423.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.544, allocations: 1.016 kB / 423.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00199/0.546, allocations: 0.6006 MB / 423.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.5476, allocations: 164.5 kB / 424 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02224/0.5699, allocations: 10.98 MB / 435 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001733/0.5716, allocations: 1.495 MB / 436.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/0.5729, allocations: 487.3 kB / 437 MB, free: 14.65 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5729, allocations: 0 / 437 MB, free: 14.65 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.8/3.373, allocations: 26.7 MB / 463.7 MB, free: 3.918 MB / 330.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_cpp_Modelica.Magnetic.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.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat does not exist to compare? outputFormat=mat