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.001082/0.001082, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008955/0.0008955, allocations: 105.9 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002067/0.0002067, allocations: 4 kB / 358 MB, free: 9.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1918, allocations: 51.49 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.303, allocations: 105.1 MB / 0.5025 GB, free: 1.469 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.3034, allocations: 91.95 kB / 0.5026 GB, free: 1.379 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2671/0.5705, allocations: 44.8 MB / 0.5464 GB, free: 65.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5705, allocations: 3.938 kB / 0.5464 GB, free: 65.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001462/0.5706, allocations: 55.94 kB / 0.5464 GB, free: 65.82 MB / 378.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.004536/0.5752, allocations: 2.456 MB / 0.5488 GB, free: 63.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.5752, allocations: 8.031 kB / 0.5488 GB, free: 63.29 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004857/0.5757, allocations: 299.3 kB / 0.5491 GB, free: 62.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009205/0.5767, allocations: 336.8 kB / 0.5494 GB, free: 62.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003061/0.5797, allocations: 1.546 MB / 0.5509 GB, free: 61.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.485e-05/0.5799, allocations: 156 kB / 0.5511 GB, free: 60.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002633/0.5801, allocations: 211.9 kB / 0.5513 GB, free: 60.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003515/0.5837, allocations: 2.699 MB / 0.5539 GB, free: 57.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.979e-05/0.5837, allocations: 3.938 kB / 0.5539 GB, free: 57.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/0.5839, allocations: 84 kB / 0.554 GB, free: 57.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.779e-05/0.584, allocations: 83.94 kB / 0.5541 GB, free: 57.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002954/0.5869, allocations: 2.229 MB / 0.5563 GB, free: 55.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/0.5972, allocations: 8.45 MB / 0.5645 GB, free: 46.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.5989, allocations: 1.813 MB / 0.5663 GB, free: 44.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.5991, allocations: 134 kB / 0.5664 GB, free: 44.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.5991, allocations: 43.56 kB / 0.5665 GB, free: 44.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 2.755e-06/0.5992, allocations: 0 / 0.5665 GB, free: 44.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.01081/0.61, allocations: 6.332 MB / 0.5726 GB, free: 38.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.61, allocations: 68.39 kB / 0.5727 GB, free: 38.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.6117, allocations: 1.314 MB / 0.574 GB, free: 36.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.355e-05/0.6118, allocations: 45.7 kB / 0.574 GB, free: 36.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004492/0.6123, allocations: 0.9759 MB / 0.575 GB, free: 35.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.6125, allocations: 421.8 kB / 0.5754 GB, free: 35.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-05/0.6126, allocations: 32 kB / 0.5754 GB, free: 35.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.6127, allocations: 357.9 kB / 0.5758 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009034/0.6136, allocations: 0.7495 MB / 0.5765 GB, free: 34.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.6146, allocations: 1.046 MB / 0.5775 GB, free: 33.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.6157, allocations: 0.8925 MB / 0.5784 GB, free: 32.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.6157, allocations: 0 / 0.5784 GB, free: 32.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003165/0.6189, allocations: 2.368 MB / 0.5807 GB, free: 29.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6189, allocations: 11.95 kB / 0.5807 GB, free: 29.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.6189, allocations: 12 kB / 0.5807 GB, free: 29.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008416/0.6198, allocations: 407.4 kB / 0.5811 GB, free: 29.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.621, allocations: 343.5 kB / 0.5814 GB, free: 28.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/0.6246, allocations: 4.739 MB / 0.5861 GB, free: 23.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.6259, allocations: 95.81 kB / 0.5862 GB, free: 23.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.626, allocations: 56 kB / 0.5862 GB, free: 23.82 MB / 378.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 () * 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.001151/0.6271, allocations: 0.7103 MB / 0.5869 GB, free: 23.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.6274, allocations: 162 kB / 0.5871 GB, free: 22.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00307/0.6305, allocations: 2.192 MB / 0.5892 GB, free: 20.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.6305, allocations: 15.94 kB / 0.5892 GB, free: 20.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6305, allocations: 4 kB / 0.5892 GB, free: 20.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.6305, allocations: 11.92 kB / 0.5892 GB, free: 20.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006408/0.637, allocations: 4.575 MB / 0.5937 GB, free: 16.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.637, allocations: 7.922 kB / 0.5937 GB, free: 16.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009777/0.638, allocations: 235.9 kB / 0.5939 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.6391, allocations: 474.9 kB / 0.5944 GB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.665e-05/0.6392, allocations: 31.98 kB / 0.5944 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004646/0.6438, allocations: 6.305 MB / 0.6006 GB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.6439, allocations: 7.938 kB / 0.6006 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004303/0.6482, allocations: 3.39 MB / 0.6039 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.6492, allocations: 410.9 kB / 0.6043 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003695/0.6496, allocations: 32 kB / 0.6043 GB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.6507, allocations: 79.91 kB / 0.6044 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/0.6509, allocations: 116.7 kB / 0.6045 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-05/0.651, allocations: 39.98 kB / 0.6045 GB, free: 4.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001511/0.6526, allocations: 1.02 MB / 0.6055 GB, free: 3.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6526, allocations: 0 / 0.6055 GB, free: 3.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001839/0.6544, allocations: 488 kB / 0.606 GB, free: 2.863 MB / 378.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 () * Number of clocked 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.0052/0.6596, allocations: 4.75 MB / 0.6106 GB, free: 14.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003563/0.6632, allocations: 2.312 MB / 0.6129 GB, free: 11.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.6632, allocations: 0 / 0.6129 GB, free: 11.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00221/0.6655, allocations: 1.525 MB / 0.6144 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/0.6676, allocations: 410 kB / 0.6148 GB, free: 9.652 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02573/0.6933, allocations: 19.38 MB / 0.6337 GB, free: 5.598 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/0.6953, allocations: 1.865 MB / 0.6355 GB, free: 3.699 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001404/0.6967, allocations: 397.5 kB / 0.6359 GB, free: 3.305 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.6979, allocations: 0.7921 MB / 0.6367 GB, free: 2.512 MB / 410.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6979, allocations: 0 / 0.6367 GB, free: 2.512 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2257/0.9237, allocations: 42.99 MB / 0.6787 GB, free: 122.9 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/0.9239, allocations: 212.1 kB / 0.6789 GB, free: 122.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.11/4.034, allocations: 0 / 0.6789 GB, free: 122.6 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