Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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 3.2.3+maint.om/package.mo", uses=false) 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 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_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.001037/0.001037, allocations: 99.38 kB / 16.95 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.00117/0.00117, allocations: 183.9 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004463/0.0004463, allocations: 8 kB / 280.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1325, allocations: 47.58 MB / 328.5 MB, free: 3.965 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03533/0.1679, allocations: 33.53 MB / 362 MB, free: 2.324 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02675/0.1947, allocations: 9.295 MB / 371.3 MB, free: 9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01193/0.2067, allocations: 231.1 kB / 371.5 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01114/0.2179, allocations: 1.883 MB / 373.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02039/0.2384, allocations: 3.386 MB / 376.8 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009487/0.2479, allocations: 1.603 MB / 378.4 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2671/0.515, allocations: 18.96 MB / 397.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05886/0.5739, allocations: 24.64 MB / 422 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.016/0.59, allocations: 6.154 MB / 428.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01862/0.6087, allocations: 6.987 MB / 435.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006199/0.6149, allocations: 0.9414 MB / 436.1 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/0.6256, allocations: 1.299 MB / 437.4 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008605/0.6343, allocations: 3.04 MB / 440.4 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008585/0.6429, allocations: 3.106 MB / 443.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03304/0.676, allocations: 27.02 MB / 470.5 MB, free: 8.871 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.6761, allocations: 0 / 470.5 MB, free: 8.871 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6761, allocations: 0 / 470.5 MB, free: 8.871 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0009841/0.6771, allocations: 0 / 470.5 MB, free: 8.871 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.05585/0.7329, allocations: 15.88 MB / 486.4 MB, free: 9.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/0.733, allocations: 8.031 kB / 486.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01316/0.7462, allocations: 2.323 MB / 488.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07391/0.8201, allocations: 9.279 MB / 498 MB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02045/0.8406, allocations: 8.992 MB / 0.4951 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001235/0.8419, allocations: 1.076 MB / 0.4962 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005943/0.8479, allocations: 1.419 MB / 0.4976 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06486/0.9128, allocations: 23.12 MB / 0.5202 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006765/0.9135, allocations: 23.83 kB / 0.5202 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005003/0.9185, allocations: 0.5803 MB / 0.5208 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001005/0.9196, allocations: 0.811 MB / 0.5215 GB, free: 9.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4513/1.371, allocations: 21.61 MB / 0.5426 GB, free: 112 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1351/1.506, allocations: 74.34 MB / 0.6152 GB, free: 57.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03107/1.537, allocations: 53.52 MB / 0.6675 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01085/1.548, allocations: 5.446 MB / 0.6728 GB, free: 8.387 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03592/1.584, allocations: 15.61 MB / 0.6881 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001165/1.584, allocations: 86.77 kB / 0.6882 GB, free: 8.734 MB / 462.1 MB Notification: Performance of pre-optimization done (n=504): time 1.144e-05/1.584, allocations: 0 / 0.6882 GB, free: 8.734 MB / 462.1 MB Notification: Performance of matching and sorting (n=512): time 0.3336/1.918, allocations: 29.1 MB / 0.7166 GB, free: 153 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.509e-05/1.918, allocations: 137.5 kB / 0.7167 GB, free: 152.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01339/1.931, allocations: 5.86 MB / 0.7224 GB, free: 151.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001131/1.932, allocations: 107.7 kB / 0.7225 GB, free: 151.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004486/1.937, allocations: 6.291 MB / 0.7287 GB, free: 147.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002269/1.939, allocations: 1.757 MB / 0.7304 GB, free: 146.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007487/1.94, allocations: 155.6 kB / 0.7305 GB, free: 146 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004397/1.941, allocations: 0.6214 MB / 0.7312 GB, free: 145.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006722/1.947, allocations: 3.71 MB / 0.7348 GB, free: 144.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007842/1.955, allocations: 6.79 MB / 0.7414 GB, free: 138.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007929/1.963, allocations: 5.159 MB / 0.7464 GB, free: 136.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.545e-05/1.963, allocations: 31.12 kB / 0.7465 GB, free: 136.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02378/1.987, allocations: 12.43 MB / 0.7586 GB, free: 131.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/1.987, allocations: 46.34 kB / 0.7587 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002182/1.987, allocations: 107.5 kB / 0.7588 GB, free: 131.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004255/1.992, allocations: 1.612 MB / 0.7603 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006779/1.999, allocations: 1.739 MB / 0.762 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02314/2.022, allocations: 18.21 MB / 0.7798 GB, free: 118 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007777/2.029, allocations: 440 kB / 0.7802 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001905/2.031, allocations: 399 kB / 0.7806 GB, free: 117.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,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 (907): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 1,(12,53.5%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01203/2.043, allocations: 5.25 MB / 0.7858 GB, free: 112.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002364/2.046, allocations: 0.6068 MB / 0.7863 GB, free: 112.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0186/2.064, allocations: 9.461 MB / 0.7956 GB, free: 103 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009694/2.074, allocations: 5.932 MB / 0.8014 GB, free: 97.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.47e-05/2.074, allocations: 19.75 kB / 0.8014 GB, free: 97.06 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001015/2.074, allocations: 31.89 kB / 0.8014 GB, free: 97.03 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04966/2.124, allocations: 21.21 MB / 0.8221 GB, free: 75.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/2.124, allocations: 8 kB / 0.8221 GB, free: 75.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003507/2.128, allocations: 0.862 MB / 0.823 GB, free: 74.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004307/2.132, allocations: 1.638 MB / 0.8246 GB, free: 73.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009902/2.133, allocations: 124 kB / 0.8247 GB, free: 73.06 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02365/2.157, allocations: 21.34 MB / 0.8455 GB, free: 50.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/2.157, allocations: 8 kB / 0.8456 GB, free: 50.81 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02367/2.18, allocations: 13.84 MB / 0.8591 GB, free: 36.62 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004309/2.185, allocations: 1.379 MB / 0.8604 GB, free: 35.21 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002463/2.187, allocations: 112 kB / 0.8605 GB, free: 35.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004559/2.192, allocations: 291.7 kB / 0.8608 GB, free: 34.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001493/2.193, allocations: 414.2 kB / 0.8612 GB, free: 34.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008328/2.194, allocations: 152.3 kB / 0.8613 GB, free: 34.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007596/2.202, allocations: 3.918 MB / 0.8652 GB, free: 30.38 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.41e-07/2.202, allocations: 0 / 0.8652 GB, free: 30.38 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01206/2.214, allocations: 2.38 MB / 0.8675 GB, free: 28 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(12,53.5%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2887/2.503, allocations: 14.63 MB / 0.8818 GB, free: 140.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02038/2.523, allocations: 10.06 MB / 0.8916 GB, free: 138.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/2.523, allocations: 2.344 kB / 0.8916 GB, free: 138.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01079/2.534, allocations: 5.487 MB / 0.897 GB, free: 137 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0124/2.546, allocations: 1.573 MB / 0.8985 GB, free: 136.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1703/2.717, allocations: 75.98 MB / 0.9727 GB, free: 81.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01749/2.734, allocations: 8.93 MB / 0.9814 GB, free: 74.48 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.009307/2.744, allocations: 2.587 MB / 0.9839 GB, free: 71.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00885/2.753, allocations: 5.186 MB / 0.989 GB, free: 66.71 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/2.753, allocations: 0 / 0.989 GB, free: 66.71 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5261/3.279, allocations: 183.4 MB / 1.168 GB, free: 68.91 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/3.279, allocations: 260.4 kB / 1.168 GB, free: 68.55 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.79/10.07, allocations: 0 / 1.168 GB, free: 68.55 MB / 494.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat