Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.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.ComparisonPolyphase.IMC_DOL_Polyphase,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase",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.001106/0.001106, allocations: 89.39 kB / 16.32 MB, free: 6.449 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.001213/0.001214, allocations: 178.5 kB / 17.21 MB, free: 6.32 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.323/1.323, allocations: 223.3 MB / 241.2 MB, free: 14.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002596/0.0002597, allocations: 4 kB / 301 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.09934, allocations: 50.42 MB / 351.4 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase): time 0.2235/0.3229, allocations: 20.93 MB / 372.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0131/0.336, allocations: 6.045 MB / 378.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004497/0.3406, allocations: 149 kB / 378.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004597/0.3452, allocations: 1.141 MB / 379.6 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007779/0.353, allocations: 1.863 MB / 381.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004029/0.3571, allocations: 0.9124 MB / 382.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01601/0.3731, allocations: 9.873 MB / 392.3 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009385/0.3825, allocations: 5.738 MB / 398 MB, free: 4.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006453/0.389, allocations: 3.124 MB / 401.1 MB, free: 2.629 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007827/0.3969, allocations: 4.059 MB / 405.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002747/0.3997, allocations: 0.5117 MB / 405.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004678/0.4044, allocations: 0.6859 MB / 406.4 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002712/0.4071, allocations: 1.996 MB / 408.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003444/0.4106, allocations: 1.829 MB / 410.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0148/0.4254, allocations: 13.97 MB / 424.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.413e-06/0.4254, allocations: 0 / 424.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4254, allocations: 4 kB / 424.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004398/0.4259, allocations: 0 / 424.2 MB, free: 12.41 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.0229/0.4488, allocations: 8.962 MB / 433.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4489, allocations: 8.031 kB / 433.2 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003657/0.4525, allocations: 1.107 MB / 434.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.4637, allocations: 2.045 MB / 436.3 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/0.4749, allocations: 5.478 MB / 441.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005601/0.4755, allocations: 0.5889 MB / 442.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0022/0.4777, allocations: 0.7918 MB / 443.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02885/0.5065, allocations: 11.29 MB / 454.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003111/0.5069, allocations: 19.77 kB / 454.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002242/0.5092, allocations: 330.5 kB / 454.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003949/0.5096, allocations: 376.2 kB / 455.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02414/0.5337, allocations: 9.892 MB / 465.1 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06372/0.5975, allocations: 34.63 MB / 499.7 MB, free: 352 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01901/0.6165, allocations: 19.87 MB / 0.5074 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007072/0.6236, allocations: 3.773 MB / 0.5111 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01778/0.6414, allocations: 9.482 MB / 0.5204 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.155e-05/0.6416, allocations: 69.08 kB / 0.5204 GB, free: 13.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=319): time 4.679e-06/0.6416, allocations: 0 / 0.5204 GB, free: 13.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=325): time 0.4049/1.046, allocations: 15.46 MB / 0.5355 GB, free: 136.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/1.047, allocations: 86.34 kB / 0.5356 GB, free: 136 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00699/1.054, allocations: 4.366 MB / 0.5399 GB, free: 134.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005142/1.054, allocations: 82.55 kB / 0.5399 GB, free: 134.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002249/1.056, allocations: 3.545 MB / 0.5434 GB, free: 133 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.057, allocations: 1.1 MB / 0.5445 GB, free: 132.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/1.058, allocations: 82.72 kB / 0.5446 GB, free: 132.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/1.058, allocations: 460 kB / 0.545 GB, free: 131.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003224/1.061, allocations: 1.842 MB / 0.5468 GB, free: 131.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003816/1.065, allocations: 2.944 MB / 0.5497 GB, free: 129 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003707/1.069, allocations: 2.33 MB / 0.5519 GB, free: 128 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-05/1.069, allocations: 16.52 kB / 0.552 GB, free: 128 MB / 446.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01088/1.08, allocations: 6.117 MB / 0.5579 GB, free: 125.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/1.08, allocations: 15.75 kB / 0.5579 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-05/1.08, allocations: 35.44 kB / 0.558 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/1.082, allocations: 0.8426 MB / 0.5588 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/1.085, allocations: 0.8208 MB / 0.5596 GB, free: 125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01332/1.098, allocations: 15 MB / 0.5742 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004385/1.102, allocations: 194.3 kB / 0.5744 GB, free: 112.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009529/1.103, allocations: 165.9 kB / 0.5746 GB, free: 112.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 8 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (439): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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%) 5,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,68.8%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005851/1.109, allocations: 2.589 MB / 0.5771 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/1.111, allocations: 456.6 kB / 0.5776 GB, free: 111.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009584/1.12, allocations: 5.695 MB / 0.5831 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/1.12, allocations: 30.41 kB / 0.5831 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.683e-05/1.12, allocations: 18.28 kB / 0.5832 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/1.12, allocations: 19.69 kB / 0.5832 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02124/1.142, allocations: 12.68 MB / 0.5956 GB, free: 96.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/1.142, allocations: 4 kB / 0.5956 GB, free: 96.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/1.143, allocations: 384 kB / 0.5959 GB, free: 96.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003311/1.146, allocations: 1.446 MB / 0.5973 GB, free: 95.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003492/1.147, allocations: 92.45 kB / 0.5974 GB, free: 95.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0214/1.168, allocations: 24.3 MB / 0.6212 GB, free: 69.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.168, allocations: 4 kB / 0.6212 GB, free: 69.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.181, allocations: 8.179 MB / 0.6292 GB, free: 61.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/1.184, allocations: 0.9562 MB / 0.6301 GB, free: 60.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001521/1.185, allocations: 87.94 kB / 0.6302 GB, free: 60.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002833/1.188, allocations: 183.9 kB / 0.6304 GB, free: 59.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008638/1.189, allocations: 321.9 kB / 0.6307 GB, free: 59.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003382/1.189, allocations: 91.97 kB / 0.6307 GB, free: 59.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005544/1.195, allocations: 2.99 MB / 0.6337 GB, free: 56.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.195, allocations: 0 / 0.6337 GB, free: 56.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006112/1.201, allocations: 1.445 MB / 0.6351 GB, free: 55.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 188 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 23,(6,72.2%) 46,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01198/1.213, allocations: 8.864 MB / 0.6437 GB, free: 46.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007752/1.221, allocations: 5.704 MB / 0.6493 GB, free: 40.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.221, allocations: 4 kB / 0.6493 GB, free: 40.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005117/1.226, allocations: 4.138 MB / 0.6534 GB, free: 35.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00724/1.233, allocations: 1.208 MB / 0.6545 GB, free: 34.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09787/1.331, allocations: 45.89 MB / 0.6993 GB, free: 2.258 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2179/1.549, allocations: 5.099 MB / 0.7043 GB, free: 140.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004072/1.553, allocations: 1.021 MB / 0.7053 GB, free: 140.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003724/1.557, allocations: 3.016 MB / 0.7083 GB, free: 140.3 MB / 462.1 MB Notification: Performance of SimCode: time 1.493e-06/1.557, allocations: 0 / 0.7083 GB, free: 140.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1542/1.711, allocations: 121.4 MB / 0.8268 GB, free: 42.34 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/1.711, allocations: 283.4 kB / 0.8271 GB, free: 41.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.942/6.653, allocations: 4.062 kB / 0.8271 GB, free: 41.98 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_ComparisonPolyphase_IMC_DOL_Polyphase.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.ComparisonPolyphase.IMC_DOL_Polyphase_res.mat does not exist to compare? outputFormat=mat