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.001525/0.001532, allocations: 188.6 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.153/2.153, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001137/0.001137, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004053, allocations: 8 kB / 327.1 MB, free: 15 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09731/0.09775, allocations: 47.58 MB / 374.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01399/0.1118, allocations: 7.935 MB / 382.6 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008627/0.1205, allocations: 3.123 MB / 385.7 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.1222, allocations: 55.81 kB / 385.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002961/0.1252, allocations: 0.5714 MB / 386.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005257/0.1305, allocations: 1.126 MB / 387.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.1344, allocations: 0.9156 MB / 388.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.289/0.4234, allocations: 12.22 MB / 400.6 MB, free: 8.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03472/0.4582, allocations: 15.21 MB / 415.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007017/0.4652, allocations: 3.301 MB / 419.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009911/0.4752, allocations: 4.1 MB / 423.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002574/0.4778, allocations: 0.5846 MB / 423.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00512/0.483, allocations: 0.7663 MB / 424.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004144/0.4872, allocations: 1.807 MB / 426.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004312/0.4916, allocations: 1.783 MB / 428.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02465/0.5163, allocations: 15.68 MB / 443.8 MB, free: 8.141 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5163, allocations: 0 / 443.8 MB, free: 8.141 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.5163, allocations: 0 / 443.8 MB, free: 8.141 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004499/0.5168, allocations: 0 / 443.8 MB, free: 8.141 MB / 314.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.04566/0.5625, allocations: 10.8 MB / 454.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.5626, allocations: 12.03 kB / 454.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005702/0.5683, allocations: 1.332 MB / 456 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07423/0.6425, allocations: 8.529 MB / 464.5 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01915/0.6617, allocations: 5.485 MB / 470 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001041/0.6628, allocations: 0.6622 MB / 470.6 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004455/0.6673, allocations: 0.8671 MB / 471.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0548/0.7222, allocations: 15.82 MB / 487.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004938/0.7227, allocations: 15.83 kB / 487.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003598/0.7263, allocations: 372 kB / 487.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009571/0.7273, allocations: 0.5644 MB / 488.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05183/0.7792, allocations: 15.63 MB / 0.4921 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6596/1.439, allocations: 48.42 MB / 0.5394 GB, free: 96.34 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0299/1.469, allocations: 19.29 MB / 0.5582 GB, free: 83.17 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008136/1.47, allocations: 183.2 kB / 0.5584 GB, free: 83.07 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.477e-05/1.47, allocations: 82.25 kB / 0.5585 GB, free: 83.03 MB / 410.8 MB Notification: Performance of pre-optimization done (n=468): time 8.527e-06/1.47, allocations: 0 / 0.5585 GB, free: 83.03 MB / 410.8 MB Notification: Performance of matching and sorting (n=468): time 0.03976/1.51, allocations: 11.5 MB / 0.5697 GB, free: 82.17 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/1.51, allocations: 130 kB / 0.5698 GB, free: 82.07 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008445/1.518, allocations: 3.816 MB / 0.5736 GB, free: 81.29 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009129/1.519, allocations: 101.4 kB / 0.5736 GB, free: 81.2 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002807/1.522, allocations: 3.837 MB / 0.5774 GB, free: 78.25 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002092/1.524, allocations: 1.614 MB / 0.579 GB, free: 77.02 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008394/1.525, allocations: 149.7 kB / 0.5791 GB, free: 76.9 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0005028/1.525, allocations: 0.6153 MB / 0.5797 GB, free: 76.46 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008911/1.534, allocations: 3.652 MB / 0.5833 GB, free: 75.18 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01112/1.546, allocations: 6.466 MB / 0.5896 GB, free: 70.24 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01804/1.564, allocations: 5.193 MB / 0.5947 GB, free: 68.09 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001521/1.564, allocations: 24.62 kB / 0.5947 GB, free: 68.09 MB / 410.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.03296/1.597, allocations: 11.78 MB / 0.6062 GB, free: 61.11 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.739e-05/1.597, allocations: 44 kB / 0.6062 GB, free: 61.07 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001514/1.597, allocations: 96 kB / 0.6063 GB, free: 60.97 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00855/1.606, allocations: 1.625 MB / 0.6079 GB, free: 59.33 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0115/1.617, allocations: 1.665 MB / 0.6095 GB, free: 57.66 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02681/1.644, allocations: 16.53 MB / 0.6257 GB, free: 40.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008301/1.652, allocations: 0.9464 MB / 0.6266 GB, free: 39.39 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001636/1.654, allocations: 364 kB / 0.627 GB, free: 39.03 MB / 410.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 () * Number of clocked 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.009032/1.663, allocations: 3.75 MB / 0.6306 GB, free: 35.27 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/1.664, allocations: 391.1 kB / 0.631 GB, free: 34.88 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02524/1.69, allocations: 8.564 MB / 0.6394 GB, free: 26.23 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.437e-05/1.69, allocations: 48 kB / 0.6394 GB, free: 26.18 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.342e-05/1.69, allocations: 12 kB / 0.6394 GB, free: 26.17 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001283/1.69, allocations: 35.86 kB / 0.6394 GB, free: 26.14 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04828/1.738, allocations: 16.88 MB / 0.6559 GB, free: 9.195 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.49e-05/1.738, allocations: 3.953 kB / 0.6559 GB, free: 9.191 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007013/1.745, allocations: 0.8581 MB / 0.6568 GB, free: 8.332 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008012/1.753, allocations: 1.507 MB / 0.6582 GB, free: 6.805 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001029/1.754, allocations: 104 kB / 0.6583 GB, free: 6.703 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03021/1.785, allocations: 16.36 MB / 0.6743 GB, free: 5.543 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.785, allocations: 3.938 kB / 0.6743 GB, free: 5.539 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03659/1.821, allocations: 12.36 MB / 0.6864 GB, free: 8.891 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00417/1.826, allocations: 1.112 MB / 0.6875 GB, free: 7.754 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001364/1.827, allocations: 87.95 kB / 0.6876 GB, free: 7.668 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005102/1.832, allocations: 315.6 kB / 0.6879 GB, free: 7.359 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001638/1.834, allocations: 309.7 kB / 0.6882 GB, free: 7.059 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006164/1.834, allocations: 148 kB / 0.6883 GB, free: 6.914 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.006888/1.841, allocations: 2.543 MB / 0.6908 GB, free: 4.375 MB / 442.8 MB Notification: Performance of sort global known variables: time 7.82e-07/1.841, allocations: 0 / 0.6908 GB, free: 4.375 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01161/1.853, allocations: 2.379 MB / 0.6931 GB, free: 1.988 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (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.3399/2.193, allocations: 13.61 MB / 0.7064 GB, free: 127.6 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0242/2.217, allocations: 9.314 MB / 0.7155 GB, free: 123.9 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/2.217, allocations: 0 / 0.7155 GB, free: 123.9 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0121/2.229, allocations: 4.462 MB / 0.7199 GB, free: 121.9 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005474/2.235, allocations: 0.6294 MB / 0.7205 GB, free: 121.7 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1294/2.364, allocations: 112.1 MB / 0.8299 GB, free: 21.29 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01095/2.375, allocations: 6.071 MB / 0.8359 GB, free: 15.18 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00788/2.383, allocations: 3.096 MB / 0.8389 GB, free: 12.09 MB / 442.8 MB Notification: Performance of SimCode: time 1.753e-06/2.383, allocations: 0 / 0.8389 GB, free: 12.09 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.776/8.159, allocations: 440.5 MB / 1.269 GB, free: 115.7 MB / 474.8 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