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.00129/0.001289, allocations: 101.3 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001652/0.001652, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002321/0.0002322, allocations: 4 kB / 306.8 MB, free: 1.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1068, allocations: 51.49 MB / 358.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2134/0.3202, allocations: 17.81 MB / 376.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01151/0.3317, allocations: 5.508 MB / 381.6 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00426/0.336, allocations: 116.4 kB / 381.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004345/0.3404, allocations: 0.9747 MB / 382.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007492/0.348, allocations: 1.574 MB / 384.3 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003625/0.3516, allocations: 0.819 MB / 385.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01146/0.3631, allocations: 6.572 MB / 391.7 MB, free: 5.844 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006251/0.3694, allocations: 3.61 MB / 395.3 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00464/0.374, allocations: 2.084 MB / 397.4 MB, free: 3.316 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00546/0.3795, allocations: 2.759 MB / 400.1 MB, free: 1.645 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001281/0.3808, allocations: 336.2 kB / 400.5 MB, free: 1.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003214/0.3841, allocations: 0.581 MB / 401.1 MB, free: 1.516 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001506/0.3856, allocations: 1.409 MB / 402.5 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002517/0.3881, allocations: 1.167 MB / 403.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.3989, allocations: 8.675 MB / 412.3 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3989, allocations: 8 kB / 412.3 MB, free: 7 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.399, allocations: 0 / 412.3 MB, free: 7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003474/0.3993, allocations: 0 / 412.3 MB, free: 7 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.0159/0.4152, allocations: 5.716 MB / 418 MB, free: 1.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.4153, allocations: 12.03 kB / 418 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002629/0.4179, allocations: 0.6998 MB / 418.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005892/0.4238, allocations: 1.113 MB / 419.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008583/0.4324, allocations: 3.48 MB / 423.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004799/0.433, allocations: 386.3 kB / 423.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00202/0.435, allocations: 0.5076 MB / 424.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.4507, allocations: 6.926 MB / 431.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.4508, allocations: 11.89 kB / 431.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005043/0.4513, allocations: 208 kB / 431.4 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002393/0.4516, allocations: 238.2 kB / 431.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0113/0.4629, allocations: 5.908 MB / 437.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03527/0.4982, allocations: 21.54 MB / 459 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008254/0.5065, allocations: 8.715 MB / 467.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003839/0.5103, allocations: 2.374 MB / 470.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01077/0.5211, allocations: 6.385 MB / 476.5 MB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.5212, allocations: 60.56 kB / 476.6 MB, free: 4.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=219): time 3.236e-06/0.5212, allocations: 0 / 476.6 MB, free: 4.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=238): time 0.02316/0.5444, allocations: 11.42 MB / 488 MB, free: 9.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.5445, allocations: 77.41 kB / 488.1 MB, free: 9.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005053/0.5495, allocations: 2.987 MB / 491.1 MB, free: 6.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002579/0.5498, allocations: 65.7 kB / 491.1 MB, free: 6.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001902/0.5517, allocations: 2.319 MB / 493.4 MB, free: 3.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000821/0.5525, allocations: 0.8087 MB / 494.2 MB, free: 2.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.5527, allocations: 59.94 kB / 494.3 MB, free: 2.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002589/0.553, allocations: 427.9 kB / 494.7 MB, free: 2.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/0.5552, allocations: 1.353 MB / 496.1 MB, free: 1.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00288/0.5581, allocations: 2.135 MB / 498.2 MB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/0.5608, allocations: 1.697 MB / 499.9 MB, free: 12.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.5609, allocations: 8 kB / 499.9 MB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.007989/0.5688, allocations: 4.656 MB / 0.4927 GB, free: 8.117 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.5689, allocations: 20.09 kB / 0.4928 GB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.934e-05/0.569, allocations: 24 kB / 0.4928 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.5708, allocations: 0.7499 MB / 0.4935 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002235/0.573, allocations: 0.6318 MB / 0.4941 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/0.5856, allocations: 13.4 MB / 0.5072 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/0.5882, allocations: 159.7 kB / 0.5074 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002768/0.5885, allocations: 132 kB / 0.5075 GB, free: 8.043 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * 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 (324): * Single equations (assignments): 314 * 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%) 8,(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00307/0.5916, allocations: 1.604 MB / 0.5091 GB, free: 6.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006917/0.5923, allocations: 320.1 kB / 0.5094 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007223/0.5995, allocations: 4.215 MB / 0.5135 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.5995, allocations: 24 kB / 0.5135 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-05/0.5996, allocations: 12 kB / 0.5135 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/0.5996, allocations: 11.95 kB / 0.5135 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/0.6154, allocations: 9.123 MB / 0.5224 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.6154, allocations: 4 kB / 0.5224 GB, free: 8.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.617, allocations: 379.9 kB / 0.5228 GB, free: 8.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002284/0.6192, allocations: 0.9278 MB / 0.5237 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001881/0.6195, allocations: 71.97 kB / 0.5238 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2556/0.8751, allocations: 16.48 MB / 0.5399 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.8751, allocations: 8.625 kB / 0.5399 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/0.8864, allocations: 6.047 MB / 0.5458 GB, free: 126.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002598/0.889, allocations: 0.7112 MB / 0.5465 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005939/0.8896, allocations: 57.67 kB / 0.5465 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.8911, allocations: 142.6 kB / 0.5467 GB, free: 126.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006732/0.8918, allocations: 196.6 kB / 0.5469 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/0.892, allocations: 69.14 kB / 0.5469 GB, free: 126.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004559/0.8966, allocations: 2.04 MB / 0.5489 GB, free: 125.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8966, allocations: 0 / 0.5489 GB, free: 125.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005275/0.9019, allocations: 0.9863 MB / 0.5499 GB, free: 125.6 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 (179): * Single equations (assignments): 170 * 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%) 1,(1,100.0%) 13,(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.009911/0.9118, allocations: 6.736 MB / 0.5565 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006287/0.9181, allocations: 4.584 MB / 0.5609 GB, free: 120.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.9182, allocations: 3.938 kB / 0.5609 GB, free: 120.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004081/0.9223, allocations: 3.046 MB / 0.5639 GB, free: 118.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004623/0.9269, allocations: 0.8831 MB / 0.5648 GB, free: 118 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05592/0.9828, allocations: 30.65 MB / 0.5947 GB, free: 91.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003013/0.9859, allocations: 3.44 MB / 0.5981 GB, free: 88.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002716/0.9886, allocations: 0.7699 MB / 0.5988 GB, free: 87.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002239/0.9909, allocations: 1.96 MB / 0.6007 GB, free: 85.32 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.9909, allocations: 0 / 0.6007 GB, free: 85.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1173/1.108, allocations: 83.78 MB / 0.6826 GB, free: 2.199 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/1.108, allocations: 243.7 kB / 0.6828 GB, free: 1.887 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.996/5.104, allocations: 6.469 kB / 0.6828 GB, free: 1.883 MB / 446.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