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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001687/0.001687, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009636/0.0009638, allocations: 99.27 kB / 286.7 MB, free: 5.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.269e-05/2.275e-05, allocations: 4 kB / 343.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 51.48 MB / 395.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3362/0.4444, allocations: 104.3 MB / 499.6 MB, free: 4.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.4447, allocations: 85.45 kB / 499.7 MB, free: 4.797 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1205/0.5652, allocations: 44.29 MB / 0.5312 GB, free: 13.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5653, allocations: 0 / 0.5312 GB, free: 13.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002241/0.5655, allocations: 59.94 kB / 0.5313 GB, free: 13.38 MB / 410.7 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.005783/0.5713, allocations: 2.197 MB / 0.5334 GB, free: 11.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.5714, allocations: 16.03 kB / 0.5335 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.573, allocations: 328.7 kB / 0.5338 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/0.5767, allocations: 1.531 MB / 0.5353 GB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.5768, allocations: 71.89 kB / 0.5353 GB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005671/0.5774, allocations: 123.9 kB / 0.5354 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004391/0.5818, allocations: 2.023 MB / 0.5374 GB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005344/0.5871, allocations: 2.34 MB / 0.5397 GB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.865e-05/0.5873, allocations: 11.91 kB / 0.5397 GB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002995/0.5876, allocations: 0 / 0.5397 GB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.5877, allocations: 87.94 kB / 0.5398 GB, free: 4.406 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01536/0.6031, allocations: 8.056 MB / 0.5477 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.6053, allocations: 1.72 MB / 0.5493 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.6067, allocations: 0.8638 MB / 0.5502 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.607, allocations: 130.4 kB / 0.5503 GB, free: 9.293 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.853e-05/0.6071, allocations: 47.88 kB / 0.5504 GB, free: 9.234 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 2.595e-06/0.6071, allocations: 4 kB / 0.5504 GB, free: 9.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=123): time 0.008629/0.6157, allocations: 4.364 MB / 0.5546 GB, free: 4.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.6158, allocations: 68.72 kB / 0.5547 GB, free: 4.738 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.6178, allocations: 1.1 MB / 0.5558 GB, free: 3.633 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.6179, allocations: 25.7 kB / 0.5558 GB, free: 3.602 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000795/0.6187, allocations: 0.9749 MB / 0.5567 GB, free: 2.613 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003713/0.6191, allocations: 409.9 kB / 0.5571 GB, free: 2.207 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/0.6192, allocations: 0 / 0.5571 GB, free: 2.207 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.6194, allocations: 357.9 kB / 0.5575 GB, free: 1.852 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.6204, allocations: 0.6755 MB / 0.5581 GB, free: 1.176 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.6216, allocations: 0.9682 MB / 0.5591 GB, free: 92 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.6228, allocations: 0.8221 MB / 0.5599 GB, free: 15.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.6229, allocations: 0 / 0.5599 GB, free: 15.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003815/0.6267, allocations: 2.131 MB / 0.562 GB, free: 13.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.6267, allocations: 12.09 kB / 0.562 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.6268, allocations: 11.94 kB / 0.562 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.6278, allocations: 403.1 kB / 0.5624 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.6292, allocations: 347.4 kB / 0.5627 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005151/0.6344, allocations: 4.421 MB / 0.567 GB, free: 7.691 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.6359, allocations: 63.97 kB / 0.5671 GB, free: 7.629 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002739/0.6362, allocations: 52 kB / 0.5671 GB, free: 7.578 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete 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.0003807/0.6366, allocations: 136.6 kB / 0.5673 GB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003664/0.6403, allocations: 1.869 MB / 0.5691 GB, free: 5.547 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004639/0.6407, allocations: 150.1 kB / 0.5692 GB, free: 5.398 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00371/0.6445, allocations: 1.995 MB / 0.5712 GB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.6445, allocations: 15.95 kB / 0.5712 GB, free: 3.367 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.6445, allocations: 4 kB / 0.5712 GB, free: 3.363 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.6445, allocations: 11.97 kB / 0.5712 GB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2325/0.8771, allocations: 4.14 MB / 0.5753 GB, free: 94.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.8771, allocations: 4.188 kB / 0.5753 GB, free: 94.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.8782, allocations: 237.1 kB / 0.5755 GB, free: 94.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.8793, allocations: 464.6 kB / 0.5759 GB, free: 94.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.995e-05/0.8794, allocations: 13.52 kB / 0.5759 GB, free: 94.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004522/0.8839, allocations: 5.911 MB / 0.5817 GB, free: 90.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.884, allocations: 2.906 kB / 0.5817 GB, free: 90.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004237/0.8882, allocations: 3.157 MB / 0.5848 GB, free: 90.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000902/0.8891, allocations: 379.9 kB / 0.5852 GB, free: 89.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.8894, allocations: 11.61 kB / 0.5852 GB, free: 89.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007808/0.8901, allocations: 60.83 kB / 0.5852 GB, free: 89.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002429/0.8904, allocations: 109.7 kB / 0.5853 GB, free: 89.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.476e-05/0.8905, allocations: 32.78 kB / 0.5854 GB, free: 89.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001151/0.8916, allocations: 0.8329 MB / 0.5862 GB, free: 89.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8916, allocations: 0 / 0.5862 GB, free: 89.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001463/0.8931, allocations: 429.8 kB / 0.5866 GB, free: 89.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.004105/0.8972, allocations: 4.482 MB / 0.591 GB, free: 88.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002598/0.8998, allocations: 2.127 MB / 0.593 GB, free: 87.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.8999, allocations: 5.297 kB / 0.593 GB, free: 87.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.9016, allocations: 1.42 MB / 0.5944 GB, free: 87.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.9034, allocations: 320.3 kB / 0.5947 GB, free: 87.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/0.9098, allocations: 4.169 MB / 0.5988 GB, free: 86.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.911, allocations: 1.866 MB / 0.6006 GB, free: 85.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001171/0.9122, allocations: 375.1 kB / 0.601 GB, free: 85.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008603/0.9131, allocations: 0.7905 MB / 0.6018 GB, free: 85.74 MB / 442.7 MB Notification: Performance of SimCode: time 6.81e-07/0.9131, allocations: 0 / 0.6018 GB, free: 85.74 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07289/0.986, allocations: 36.29 MB / 0.6372 GB, free: 83.78 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/0.9862, allocations: 154.3 kB / 0.6373 GB, free: 83.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.182/4.168, allocations: 0 / 0.6373 GB, free: 83.59 MB / 442.7 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