Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.0009892/0.0009892, allocations: 98.83 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009376/0.0009376, allocations: 206.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003226, allocations: 8 kB / 306.7 MB, free: 1.254 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09767/0.09802, allocations: 51.49 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2141/0.3122, allocations: 16.17 MB / 374.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.3246, allocations: 5.696 MB / 380.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003695/0.3284, allocations: 109.9 kB / 380.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003631/0.332, allocations: 1.029 MB / 381.2 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007706/0.3397, allocations: 1.676 MB / 382.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.343, allocations: 0.8114 MB / 383.7 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009205/0.3523, allocations: 4.307 MB / 388 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006285/0.3586, allocations: 3.61 MB / 391.6 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005214/0.3638, allocations: 1.99 MB / 393.6 MB, free: 4.594 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00668/0.3706, allocations: 2.441 MB / 396.1 MB, free: 3.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002251/0.3729, allocations: 327.9 kB / 396.4 MB, free: 3.387 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004447/0.3773, allocations: 0.5605 MB / 396.9 MB, free: 3.273 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00274/0.3801, allocations: 1.344 MB / 398.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003563/0.3837, allocations: 1.167 MB / 399.4 MB, free: 1.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.3947, allocations: 8.618 MB / 408.1 MB, free: 10.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3947, allocations: 0 / 408.1 MB, free: 10.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3948, allocations: 0 / 408.1 MB, free: 10.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003467/0.3951, allocations: 0 / 408.1 MB, free: 10.78 MB / 318.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.01651/0.4116, allocations: 5.709 MB / 413.8 MB, free: 5.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.4117, allocations: 8.031 kB / 413.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003061/0.4147, allocations: 0.7038 MB / 414.5 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006574/0.4213, allocations: 1.113 MB / 415.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009378/0.4308, allocations: 3.511 MB / 419.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004256/0.4312, allocations: 390.2 kB / 419.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/0.433, allocations: 0.5115 MB / 420 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/0.4502, allocations: 6.883 MB / 426.9 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.4505, allocations: 11.86 kB / 426.9 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008306/0.4513, allocations: 212 kB / 427.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002474/0.4516, allocations: 238.2 kB / 427.3 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.4655, allocations: 5.896 MB / 433.2 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04716/0.5127, allocations: 21.48 MB / 454.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/0.5262, allocations: 8.71 MB / 463.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01636/0.5426, allocations: 5.347 MB / 468.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.583e-05/0.5428, allocations: 60.56 kB / 468.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=227): time 6.993e-06/0.5428, allocations: 0 / 468.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=246): time 0.03409/0.5769, allocations: 11.72 MB / 480.5 MB, free: 200 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.577, allocations: 77.34 kB / 480.6 MB, free: 108 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006448/0.5834, allocations: 2.928 MB / 483.5 MB, free: 13.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006726/0.5842, allocations: 69.64 kB / 483.6 MB, free: 13.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002592/0.5868, allocations: 2.32 MB / 485.9 MB, free: 10.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001177/0.588, allocations: 0.8395 MB / 486.8 MB, free: 9.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.5881, allocations: 56 kB / 486.8 MB, free: 9.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.5883, allocations: 420 kB / 487.2 MB, free: 9.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.5905, allocations: 1.384 MB / 488.6 MB, free: 8.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002678/0.5932, allocations: 2.141 MB / 490.8 MB, free: 5.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002541/0.5958, allocations: 1.725 MB / 492.5 MB, free: 3.824 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/0.5958, allocations: 8 kB / 492.5 MB, free: 3.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.00826/0.6041, allocations: 4.716 MB / 497.2 MB, free: 15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/0.6041, allocations: 12 kB / 497.2 MB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.77e-05/0.6042, allocations: 28.06 kB / 497.3 MB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/0.606, allocations: 0.7539 MB / 498 MB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002646/0.6087, allocations: 0.6396 MB / 498.6 MB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.6207, allocations: 13.55 MB / 0.5002 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/0.6235, allocations: 155.9 kB / 0.5003 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000427/0.6239, allocations: 124 kB / 0.5005 GB, free: 14.78 MB / 430.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.003554/0.6275, allocations: 1.614 MB / 0.502 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008736/0.6284, allocations: 324.1 kB / 0.5023 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007221/0.6356, allocations: 4.286 MB / 0.5065 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/0.6356, allocations: 27.95 kB / 0.5066 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/0.6357, allocations: 12 kB / 0.5066 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.787e-05/0.6357, allocations: 11.95 kB / 0.5066 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/0.6509, allocations: 9.209 MB / 0.5156 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.651, allocations: 4 kB / 0.5156 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/0.6526, allocations: 403.9 kB / 0.516 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002272/0.6549, allocations: 0.9161 MB / 0.5169 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/0.6551, allocations: 67.97 kB / 0.5169 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.229/0.8841, allocations: 16.73 MB / 0.5333 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.8841, allocations: 7.531 kB / 0.5333 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.8946, allocations: 6.53 MB / 0.5396 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002027/0.8966, allocations: 0.7081 MB / 0.5403 GB, free: 131.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005148/0.8971, allocations: 58.77 kB / 0.5404 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.8987, allocations: 141.4 kB / 0.5405 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005738/0.8993, allocations: 204.5 kB / 0.5407 GB, free: 131.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/0.8994, allocations: 70.7 kB / 0.5408 GB, free: 131.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003519/0.903, allocations: 1.983 MB / 0.5427 GB, free: 130.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.303e-06/0.903, allocations: 0 / 0.5427 GB, free: 130.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004123/0.9071, allocations: 0.9929 MB / 0.5437 GB, free: 130.3 MB / 446.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%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01015/0.9173, allocations: 8.16 MB / 0.5517 GB, free: 125.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006092/0.9234, allocations: 4.647 MB / 0.5562 GB, free: 123.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.9234, allocations: 0 / 0.5562 GB, free: 123.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003724/0.9272, allocations: 3.093 MB / 0.5592 GB, free: 121.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00372/0.9309, allocations: 0.842 MB / 0.56 GB, free: 121.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05738/0.9883, allocations: 45.89 MB / 0.6048 GB, free: 80.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002765/0.9911, allocations: 3.537 MB / 0.6083 GB, free: 76.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002695/0.9938, allocations: 0.7856 MB / 0.6091 GB, free: 75.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001976/0.9958, allocations: 1.952 MB / 0.611 GB, free: 73.78 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.9958, allocations: 7.875 kB / 0.611 GB, free: 73.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5006/1.496, allocations: 83.46 MB / 0.6925 GB, free: 6.969 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/1.497, allocations: 241.7 kB / 0.6927 GB, free: 6.727 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.938/5.435, allocations: 0 / 0.6927 GB, free: 6.727 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat