Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00114/0.00114, allocations: 95.53 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 204.7 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000282/0.0002823, allocations: 7.984 kB / 306.7 MB, free: 1.469 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09592, allocations: 51.5 MB / 358.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01199/0.108, allocations: 11.48 MB / 369.7 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1944/0.3024, allocations: 4.413 MB / 374.1 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002592/0.3051, allocations: 72.62 kB / 374.2 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003081/0.3082, allocations: 0.7956 MB / 375 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005936/0.3141, allocations: 1.206 MB / 376.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.3163, allocations: 0.6427 MB / 376.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006312/0.3226, allocations: 2.882 MB / 379.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003471/0.3261, allocations: 2.213 MB / 381.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003421/0.3295, allocations: 1.274 MB / 383.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004592/0.3341, allocations: 1.474 MB / 384.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001135/0.3353, allocations: 205.7 kB / 384.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.3382, allocations: 391.3 kB / 385.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001672/0.3399, allocations: 0.7193 MB / 386 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002541/0.3424, allocations: 0.7459 MB / 386.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007785/0.3502, allocations: 5.472 MB / 392.2 MB, free: 5.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3503, allocations: 0 / 392.2 MB, free: 5.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3503, allocations: 0 / 392.2 MB, free: 5.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002433/0.3505, allocations: 1.25 kB / 392.2 MB, free: 5.684 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01284/0.3634, allocations: 3.764 MB / 396 MB, free: 3.348 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.3634, allocations: 9.625 kB / 396 MB, free: 3.348 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001752/0.3652, allocations: 456.7 kB / 396.4 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004971/0.3702, allocations: 0.8416 MB / 397.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005209/0.3754, allocations: 2.302 MB / 399.6 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.3756, allocations: 241.2 kB / 399.8 MB, free: 0.832 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006987/0.3763, allocations: 319.4 kB / 400.1 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008306/0.3846, allocations: 4.221 MB / 404.3 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.5e-05/0.3848, allocations: 4 kB / 404.3 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003327/0.3851, allocations: 134.5 kB / 404.5 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/0.3853, allocations: 150.4 kB / 404.6 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007414/0.3927, allocations: 3.582 MB / 408.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02567/0.4184, allocations: 13.99 MB / 422.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006207/0.4246, allocations: 6.656 MB / 428.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005849/0.4305, allocations: 3.466 MB / 432.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.4306, allocations: 47.88 kB / 432.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=140): time 2.795e-06/0.4306, allocations: 4 kB / 432.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of matching and sorting (n=143): time 0.01177/0.4424, allocations: 6.019 MB / 438.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.4425, allocations: 68.72 kB / 438.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.445, allocations: 1.734 MB / 440.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001397/0.4451, allocations: 53.7 kB / 440.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009514/0.4461, allocations: 1.442 MB / 441.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.4465, allocations: 495.2 kB / 442.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/0.4466, allocations: 40 kB / 442.2 MB, free: 6.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4467, allocations: 369.9 kB / 442.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.4478, allocations: 0.6989 MB / 443.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.4491, allocations: 1.197 MB / 444.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.4504, allocations: 0.919 MB / 445.4 MB, free: 3.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.4504, allocations: 4 kB / 445.4 MB, free: 3.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.003864/0.4543, allocations: 2.578 MB / 447.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.4544, allocations: 12 kB / 448 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.4544, allocations: 16 kB / 448 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008833/0.4553, allocations: 364.3 kB / 448.3 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.4566, allocations: 387.4 kB / 448.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007777/0.4644, allocations: 7.768 MB / 456.5 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.4663, allocations: 83.92 kB / 456.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.4665, allocations: 72 kB / 456.6 MB, free: 7.266 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 191 * 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: 4 * 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: 4 {(1,100.0%) 7,(1,100.0%) 1,(2,100.0%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002177/0.4686, allocations: 1.019 MB / 457.6 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000418/0.4691, allocations: 189.7 kB / 457.8 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/0.473, allocations: 2.344 MB / 460.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.473, allocations: 16 kB / 460.2 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/0.473, allocations: 8 kB / 460.2 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.4731, allocations: 11.47 kB / 460.2 MB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008821/0.4819, allocations: 5.157 MB / 465.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.482, allocations: 3.938 kB / 465.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008403/0.4828, allocations: 187.8 kB / 465.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.4842, allocations: 0.5289 MB / 466.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.4843, allocations: 39.94 kB / 466.1 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.4961, allocations: 12.21 MB / 478.3 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.4961, allocations: 7.969 kB / 478.3 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005516/0.5017, allocations: 3.406 MB / 481.7 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/0.5032, allocations: 422.6 kB / 482.2 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004812/0.5037, allocations: 39.98 kB / 482.2 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008943/0.5046, allocations: 71.95 kB / 482.3 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.5049, allocations: 109.2 kB / 482.4 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.564e-05/0.505, allocations: 47.98 kB / 482.4 MB, free: 12.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001864/0.5068, allocations: 1.184 MB / 483.6 MB, free: 11.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5068, allocations: 0 / 483.6 MB, free: 11.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002722/0.5096, allocations: 0.5859 MB / 484.2 MB, free: 10.55 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 86 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 7,(2,100.0%) 8,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00626/0.5158, allocations: 4.418 MB / 488.6 MB, free: 6.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004147/0.52, allocations: 2.398 MB / 491 MB, free: 3.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5201, allocations: 0 / 491 MB, free: 3.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002685/0.5227, allocations: 1.783 MB / 492.8 MB, free: 1.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/0.5256, allocations: 0.5041 MB / 493.3 MB, free: 1.184 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04158/0.5672, allocations: 27.04 MB / 0.5081 GB, free: 4.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002101/0.5694, allocations: 2.374 MB / 0.5105 GB, free: 2.578 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00153/0.5709, allocations: 405.1 kB / 0.5108 GB, free: 2.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/0.5723, allocations: 1.136 MB / 0.512 GB, free: 1.043 MB / 430.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5723, allocations: 0 / 0.512 GB, free: 1.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2766/0.8489, allocations: 49.59 MB / 0.5604 GB, free: 129.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.8491, allocations: 256 kB / 0.5606 GB, free: 129.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.895/3.744, allocations: 1.5 kB / 0.5606 GB, free: 129.3 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat