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.002472/0.002472, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009167/0.0009166, allocations: 91.02 kB / 292.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.751e-05, allocations: 7.984 kB / 350.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 51.48 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4076/0.5187, allocations: 105 MB / 0.4952 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.519, allocations: 88.41 kB / 0.4953 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1201/0.6391, allocations: 44.86 MB / 0.5391 GB, free: 5.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6392, allocations: 0 / 0.5391 GB, free: 5.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002504/0.6394, allocations: 63.88 kB / 0.5392 GB, free: 5.008 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.005989/0.6454, allocations: 2.197 MB / 0.5413 GB, free: 2.758 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.6455, allocations: 12.03 kB / 0.5414 GB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008131/0.6463, allocations: 291.3 kB / 0.5416 GB, free: 2.449 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.6478, allocations: 336.7 kB / 0.542 GB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003715/0.6515, allocations: 1.539 MB / 0.5435 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.6517, allocations: 156 kB / 0.5436 GB, free: 372 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005409/0.6522, allocations: 203.9 kB / 0.5438 GB, free: 168 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005445/0.6577, allocations: 2.644 MB / 0.5464 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.804e-05/0.6578, allocations: 3.906 kB / 0.5464 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.658, allocations: 87.98 kB / 0.5465 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.6582, allocations: 91.94 kB / 0.5466 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003957/0.6621, allocations: 2.124 MB / 0.5486 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01502/0.6772, allocations: 8.441 MB / 0.5569 GB, free: 2.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.6793, allocations: 1.773 MB / 0.5586 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.6807, allocations: 0.9727 MB / 0.5596 GB, free: 15.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002893/0.681, allocations: 130.1 kB / 0.5597 GB, free: 15.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.6811, allocations: 43.56 kB / 0.5597 GB, free: 15.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=107): time 2.615e-06/0.6811, allocations: 0 / 0.5597 GB, free: 15.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=123): time 0.01114/0.6922, allocations: 5.246 MB / 0.5648 GB, free: 10.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.6923, allocations: 64.41 kB / 0.5649 GB, free: 9.973 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.6942, allocations: 1.304 MB / 0.5662 GB, free: 8.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.512e-05/0.6943, allocations: 49.7 kB / 0.5662 GB, free: 8.605 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006562/0.695, allocations: 0.9759 MB / 0.5672 GB, free: 7.617 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/0.6954, allocations: 421.8 kB / 0.5676 GB, free: 7.199 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.6954, allocations: 28 kB / 0.5676 GB, free: 7.172 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6956, allocations: 357.9 kB / 0.5679 GB, free: 6.816 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009412/0.6965, allocations: 0.6989 MB / 0.5686 GB, free: 6.117 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.6977, allocations: 1 MB / 0.5696 GB, free: 4.988 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.6988, allocations: 0.8558 MB / 0.5704 GB, free: 4.137 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.6988, allocations: 0 / 0.5704 GB, free: 4.137 MB / 442.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003579/0.7024, allocations: 2.275 MB / 0.5727 GB, free: 1.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.7024, allocations: 8 kB / 0.5727 GB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.7025, allocations: 8 kB / 0.5727 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009927/0.7035, allocations: 410.7 kB / 0.5731 GB, free: 1.414 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.7047, allocations: 339.5 kB / 0.5734 GB, free: 1.082 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2262/0.9309, allocations: 4.629 MB / 0.5779 GB, free: 92.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.9325, allocations: 92.2 kB / 0.578 GB, free: 92.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003036/0.9329, allocations: 53.09 kB / 0.5781 GB, free: 92.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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.0003836/0.9332, allocations: 184.6 kB / 0.5782 GB, free: 92.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004248/0.9337, allocations: 166.7 kB / 0.5784 GB, free: 92.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003208/0.9369, allocations: 2.098 MB / 0.5804 GB, free: 92.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.9369, allocations: 11.91 kB / 0.5805 GB, free: 92.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.9369, allocations: 3.797 kB / 0.5805 GB, free: 92.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.9369, allocations: 7.125 kB / 0.5805 GB, free: 92.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006599/0.9436, allocations: 4.516 MB / 0.5849 GB, free: 91.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.9436, allocations: 4.469 kB / 0.5849 GB, free: 91.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009141/0.9445, allocations: 237.1 kB / 0.5851 GB, free: 91.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.9456, allocations: 467.7 kB / 0.5855 GB, free: 91.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-05/0.9457, allocations: 35.16 kB / 0.5856 GB, free: 91.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00441/0.9501, allocations: 6.177 MB / 0.5916 GB, free: 87.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.9501, allocations: 14.05 kB / 0.5916 GB, free: 87.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00375/0.9539, allocations: 3.289 MB / 0.5948 GB, free: 87.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007648/0.9547, allocations: 400.5 kB / 0.5952 GB, free: 87.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.9549, allocations: 36.45 kB / 0.5953 GB, free: 87.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008077/0.9557, allocations: 79.31 kB / 0.5953 GB, free: 87.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.9559, allocations: 113.5 kB / 0.5954 GB, free: 87.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.271e-05/0.956, allocations: 36.86 kB / 0.5955 GB, free: 87.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001293/0.9573, allocations: 1.005 MB / 0.5965 GB, free: 87.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9573, allocations: 0 / 0.5965 GB, free: 87.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001423/0.9588, allocations: 495.6 kB / 0.5969 GB, free: 87.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (108): * Single equations (assignments): 104 * 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.004265/0.963, allocations: 4.775 MB / 0.6016 GB, free: 85.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002705/0.9658, allocations: 2.199 MB / 0.6037 GB, free: 84.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.9658, allocations: 6.188 kB / 0.6037 GB, free: 84.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.9675, allocations: 1.475 MB / 0.6052 GB, free: 84.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.9693, allocations: 416.8 kB / 0.6056 GB, free: 84.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006824/0.9762, allocations: 4.308 MB / 0.6098 GB, free: 83.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.9775, allocations: 1.862 MB / 0.6116 GB, free: 82.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001252/0.9788, allocations: 405.5 kB / 0.612 GB, free: 82.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009387/0.9797, allocations: 0.7907 MB / 0.6128 GB, free: 82.17 MB / 442.7 MB Notification: Performance of SimCode: time 8.61e-07/0.9797, allocations: 3.469 kB / 0.6128 GB, free: 82.17 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06869/1.048, allocations: 43.12 MB / 0.6549 GB, free: 77.67 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/1.049, allocations: 185.5 kB / 0.6551 GB, free: 77.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.163/4.212, allocations: 0 / 0.6551 GB, free: 77.45 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