Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_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.0007958/0.0007956, allocations: 97.66 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 195 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 4 kB / 306.8 MB, free: 1.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 51.5 MB / 358.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.008377/0.1305, allocations: 8.338 MB / 366.7 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005076/0.1356, allocations: 2.868 MB / 369.5 MB, free: 2.738 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000991/0.1367, allocations: 39.81 kB / 369.6 MB, free: 2.699 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.138, allocations: 0.5048 MB / 370.1 MB, free: 2.191 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.1398, allocations: 0.6643 MB / 370.7 MB, free: 1.523 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006485/0.1404, allocations: 227.6 kB / 371 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2417/0.3821, allocations: 2.751 MB / 373.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002317/0.3845, allocations: 1.374 MB / 375.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/0.3863, allocations: 0.9087 MB / 376 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.3882, allocations: 1.236 MB / 377.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002991/0.3885, allocations: 132.7 kB / 377.4 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006894/0.3892, allocations: 212 kB / 377.6 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008178/0.39, allocations: 0.6803 MB / 378.2 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005994/0.3907, allocations: 0.4925 MB / 378.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003865/0.3945, allocations: 3.272 MB / 382 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3945, allocations: 1.594 kB / 382 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3946, allocations: 0 / 382 MB, free: 9.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.593e-05/0.3947, allocations: 0 / 382 MB, free: 9.301 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005232/0.3999, allocations: 2.466 MB / 384.5 MB, free: 8.105 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4, allocations: 9.719 kB / 384.5 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004251/0.4004, allocations: 300.3 kB / 384.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.4015, allocations: 330.4 kB / 385.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.4038, allocations: 1.436 MB / 386.5 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.4039, allocations: 152.3 kB / 386.7 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.4043, allocations: 201.2 kB / 386.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004577/0.4088, allocations: 2.728 MB / 389.6 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/0.4089, allocations: 10.19 kB / 389.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.4091, allocations: 85.64 kB / 389.7 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/0.4092, allocations: 91.75 kB / 389.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003981/0.4132, allocations: 2.332 MB / 392.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/0.4253, allocations: 8.461 MB / 400.6 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.4278, allocations: 1.789 MB / 402.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001918/0.4298, allocations: 1.075 MB / 403.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.43, allocations: 120.8 kB / 403.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.061e-05/0.4301, allocations: 43.56 kB / 403.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.775e-06/0.4301, allocations: 4 kB / 403.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01366/0.4438, allocations: 6.269 MB / 409.9 MB, free: 6.574 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.4439, allocations: 60.41 kB / 409.9 MB, free: 6.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/0.4464, allocations: 1.509 MB / 411.5 MB, free: 4.984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.4465, allocations: 46.55 kB / 411.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007716/0.4473, allocations: 0.9882 MB / 412.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003959/0.4477, allocations: 416.5 kB / 412.9 MB, free: 3.535 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.287e-05/0.4478, allocations: 32 kB / 412.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.4481, allocations: 361.9 kB / 413.3 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.4494, allocations: 0.7378 MB / 414 MB, free: 2.406 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.4509, allocations: 1.063 MB / 415.1 MB, free: 1.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.4524, allocations: 0.884 MB / 416 MB, free: 340 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.4524, allocations: 6.734 kB / 416 MB, free: 336 kB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00472/0.4571, allocations: 2.362 MB / 418.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.4572, allocations: 8 kB / 418.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.992e-05/0.4572, allocations: 8 kB / 418.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000963/0.4582, allocations: 407.5 kB / 418.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.4595, allocations: 335.5 kB / 419.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005133/0.4646, allocations: 4.65 MB / 423.7 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.4662, allocations: 91.91 kB / 423.8 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.4664, allocations: 48 kB / 423.9 MB, free: 8.133 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001631/0.468, allocations: 0.7148 MB / 424.6 MB, free: 7.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/0.4684, allocations: 158 kB / 424.7 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/0.4723, allocations: 2.16 MB / 426.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.4723, allocations: 12 kB / 426.9 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.4724, allocations: 4 kB / 426.9 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.4724, allocations: 7.969 kB / 426.9 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007859/0.4802, allocations: 4.6 MB / 431.5 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.4803, allocations: 0 / 431.5 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009569/0.4812, allocations: 228 kB / 431.7 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.4825, allocations: 466.8 kB / 432.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.395e-05/0.4826, allocations: 31.98 kB / 432.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006196/0.4888, allocations: 6.135 MB / 438.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.4888, allocations: 8.094 kB / 438.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0053/0.4941, allocations: 3.201 MB / 441.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.4954, allocations: 398.9 kB / 442 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.4956, allocations: 32 kB / 442 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008453/0.4965, allocations: 83.91 kB / 442.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003173/0.4968, allocations: 108.7 kB / 442.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-05/0.4969, allocations: 35.98 kB / 442.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001832/0.4987, allocations: 1.039 MB / 443.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4988, allocations: 0 / 443.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001746/0.5005, allocations: 464 kB / 443.7 MB, free: 3.707 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.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 (104): * Single equations (assignments): 100 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005892/0.5064, allocations: 3.795 MB / 447.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004025/0.5105, allocations: 2.274 MB / 449.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/0.5105, allocations: 4 kB / 449.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002559/0.513, allocations: 1.485 MB / 451.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.5156, allocations: 435.5 kB / 451.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/0.5443, allocations: 13.78 MB / 465.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.5461, allocations: 1.823 MB / 467.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001428/0.5476, allocations: 397.5 kB / 467.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/0.5487, allocations: 0.8 MB / 468.5 MB, free: 10.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.875e-06/0.5487, allocations: 0 / 468.5 MB, free: 10.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0875/0.6363, allocations: 40.15 MB / 0.4967 GB, free: 2.391 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.6364, allocations: 228 kB / 0.4969 GB, free: 2.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.042/3.678, allocations: 4.062 kB / 0.4969 GB, free: 2.145 MB / 414.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat