Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 94.55 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 181.3 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.2 MB / 241.1 MB, free: 5.352 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.000294, allocations: 6.062 kB / 300.8 MB, free: 6.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09213/0.09245, allocations: 50.42 MB / 351.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.01549/0.108, allocations: 15.66 MB / 366.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.1191, allocations: 5.491 MB / 372.4 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002964/0.1221, allocations: 107.5 kB / 372.5 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004014/0.1261, allocations: 1.003 MB / 373.5 MB, free: 5.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007006/0.1332, allocations: 1.632 MB / 375.1 MB, free: 3.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.136, allocations: 0.7759 MB / 375.9 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00907/0.1451, allocations: 4.22 MB / 380.1 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007824/0.153, allocations: 3.607 MB / 383.7 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004199/0.1572, allocations: 1.985 MB / 385.7 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004831/0.1621, allocations: 2.428 MB / 388.2 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00161/0.1638, allocations: 328 kB / 388.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.1662, allocations: 0.5387 MB / 389 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001958/0.1681, allocations: 1.336 MB / 390.3 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002742/0.1709, allocations: 1.167 MB / 391.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009996/0.1809, allocations: 8.586 MB / 400.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.181, allocations: 0 / 400.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.181, allocations: 0 / 400.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002699/0.1812, allocations: 0 / 400.1 MB, free: 10.48 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01354/0.1948, allocations: 5.662 MB / 405.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1948, allocations: 8.031 kB / 405.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001753/0.1966, allocations: 0.7076 MB / 406.5 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005098/0.2017, allocations: 1.078 MB / 407.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008176/0.2099, allocations: 3.503 MB / 411.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/0.2103, allocations: 386.3 kB / 411.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.2118, allocations: 0.5038 MB / 411.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01486/0.2266, allocations: 6.879 MB / 418.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000141/0.2268, allocations: 11.91 kB / 418.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006446/0.2275, allocations: 212 kB / 419 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002545/0.2277, allocations: 242.2 kB / 419.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/0.241, allocations: 5.904 MB / 425.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2342/0.4753, allocations: 21.38 MB / 446.6 MB, free: 47.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006731/0.482, allocations: 8.696 MB / 455.3 MB, free: 39.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009467/0.4915, allocations: 5.105 MB / 460.4 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.4916, allocations: 64.36 kB / 460.4 MB, free: 35.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=227): time 4.158e-06/0.4916, allocations: 0 / 460.4 MB, free: 35.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=246): time 0.02029/0.5119, allocations: 11.72 MB / 472.1 MB, free: 27.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.512, allocations: 85.3 kB / 472.2 MB, free: 27.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003428/0.5154, allocations: 2.899 MB / 475.1 MB, free: 24.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002717/0.5157, allocations: 72.11 kB / 475.2 MB, free: 24.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.5167, allocations: 2.295 MB / 477.5 MB, free: 22.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/0.5173, allocations: 0.8348 MB / 478.3 MB, free: 21.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.5174, allocations: 60 kB / 478.4 MB, free: 21.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5176, allocations: 424 kB / 478.8 MB, free: 20.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002905/0.5205, allocations: 1.376 MB / 480.2 MB, free: 19.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.5226, allocations: 2.134 MB / 482.3 MB, free: 16.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002073/0.5247, allocations: 1.733 MB / 484 MB, free: 15.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.5247, allocations: 8 kB / 484 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006425/0.5312, allocations: 4.704 MB / 488.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.5312, allocations: 19.98 kB / 488.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-05/0.5313, allocations: 24.06 kB / 488.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/0.5334, allocations: 0.7554 MB / 489.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/0.5358, allocations: 0.6396 MB / 490.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.5471, allocations: 13.54 MB / 0.4919 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002682/0.5498, allocations: 159.7 kB / 0.4921 GB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003296/0.5501, allocations: 128 kB / 0.4922 GB, free: 10.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003122/0.5533, allocations: 1.603 MB / 0.4938 GB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007436/0.554, allocations: 320.1 kB / 0.4941 GB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007382/0.5614, allocations: 4.284 MB / 0.4983 GB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.5615, allocations: 27.98 kB / 0.4983 GB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.172e-05/0.5615, allocations: 16 kB / 0.4983 GB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.73e-05/0.5615, allocations: 11.95 kB / 0.4983 GB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/0.5775, allocations: 9.202 MB / 0.5073 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.5775, allocations: 4 kB / 0.5073 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/0.5792, allocations: 395.9 kB / 0.5077 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002294/0.5815, allocations: 0.9155 MB / 0.5086 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/0.5817, allocations: 71.91 kB / 0.5086 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/0.6005, allocations: 16.73 MB / 0.525 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.6006, allocations: 7.938 kB / 0.525 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/0.617, allocations: 6.524 MB / 0.5314 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003132/0.6202, allocations: 0.7053 MB / 0.532 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/0.6213, allocations: 63.98 kB / 0.5321 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00338/0.6247, allocations: 143.8 kB / 0.5322 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007537/0.6255, allocations: 209.5 kB / 0.5324 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003093/0.6258, allocations: 67.98 kB / 0.5325 GB, free: 15.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.006087/0.6319, allocations: 1.971 MB / 0.5344 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.052e-06/0.632, allocations: 0 / 0.5344 GB, free: 13.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.007556/0.6395, allocations: 0.9714 MB / 0.5354 GB, free: 12.42 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.zeroInductor.i0,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02134/0.6609, allocations: 8.149 MB / 0.5433 GB, free: 4.074 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01401/0.675, allocations: 4.645 MB / 0.5479 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/0.6751, allocations: 0 / 0.5479 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008488/0.6836, allocations: 3.101 MB / 0.5509 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006519/0.6901, allocations: 0.8317 MB / 0.5517 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3175/1.008, allocations: 45.71 MB / 0.5964 GB, free: 129.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00312/1.011, allocations: 3.526 MB / 0.5998 GB, free: 128.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002639/1.013, allocations: 0.7858 MB / 0.6006 GB, free: 128.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002122/1.016, allocations: 1.94 MB / 0.6025 GB, free: 128.2 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/1.016, allocations: 0 / 0.6025 GB, free: 128.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/1.127, allocations: 82.84 MB / 0.6834 GB, free: 53.7 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001305/1.127, allocations: 241.2 kB / 0.6836 GB, free: 53.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.838/4.964, allocations: 4 kB / 0.6836 GB, free: 53.46 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat