Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_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.002245/0.002245, allocations: 198.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.418/1.418, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001035/0.001036, allocations: 100.3 kB / 286.7 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.378e-05, allocations: 4 kB / 343.8 MB, free: 8.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 51.47 MB / 395.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4248/0.5392, allocations: 123.8 MB / 0.5069 GB, free: 1.781 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.5395, allocations: 96.81 kB / 0.507 GB, free: 1.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6086/1.148, allocations: 119.6 MB / 0.6238 GB, free: 74.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.485e-06/1.148, allocations: 0 / 0.6238 GB, free: 74.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0008299/1.149, allocations: 134.1 kB / 0.6239 GB, free: 74.03 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.02175/1.171, allocations: 4.968 MB / 0.6288 GB, free: 72.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/1.171, allocations: 8.625 kB / 0.6288 GB, free: 72.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008038/1.179, allocations: 1.032 MB / 0.6298 GB, free: 71.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/1.194, allocations: 4.625 MB / 0.6343 GB, free: 70.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004024/1.195, allocations: 167.6 kB / 0.6344 GB, free: 70.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002496/1.197, allocations: 309.5 kB / 0.6347 GB, free: 70.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0146/1.212, allocations: 5.134 MB / 0.6398 GB, free: 69.33 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02392/1.236, allocations: 5.96 MB / 0.6456 GB, free: 66.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005144/1.236, allocations: 22.23 kB / 0.6456 GB, free: 66.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002592/1.239, allocations: 7.578 kB / 0.6456 GB, free: 66.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003227/1.239, allocations: 227 kB / 0.6458 GB, free: 66.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04634/1.286, allocations: 20.53 MB / 0.6659 GB, free: 55.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008738/1.294, allocations: 8.526 MB / 0.6742 GB, free: 48.34 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003886/1.298, allocations: 2.123 MB / 0.6763 GB, free: 47.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0148/1.313, allocations: 6.231 MB / 0.6824 GB, free: 44.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.991e-05/1.313, allocations: 56.22 kB / 0.6824 GB, free: 44.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=220): time 1.006e-05/1.313, allocations: 0 / 0.6824 GB, free: 44.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=239): time 0.03056/1.344, allocations: 8.444 MB / 0.6907 GB, free: 40.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/1.344, allocations: 79.69 kB / 0.6907 GB, free: 40.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007659/1.352, allocations: 2.123 MB / 0.6928 GB, free: 39.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008555/1.353, allocations: 29.7 kB / 0.6928 GB, free: 39.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002434/1.355, allocations: 2.331 MB / 0.6951 GB, free: 37.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001479/1.357, allocations: 0.7835 MB / 0.6959 GB, free: 37.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005739/1.357, allocations: 0 / 0.6959 GB, free: 37.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003223/1.358, allocations: 420.9 kB / 0.6963 GB, free: 36.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003294/1.361, allocations: 1.237 MB / 0.6975 GB, free: 36.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003954/1.365, allocations: 1.973 MB / 0.6994 GB, free: 34.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005854/1.371, allocations: 1.793 MB / 0.7012 GB, free: 33.45 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.582e-05/1.371, allocations: 12 kB / 0.7012 GB, free: 33.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01438/1.385, allocations: 4.414 MB / 0.7055 GB, free: 29.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.878e-05/1.385, allocations: 13.41 kB / 0.7055 GB, free: 29.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.427e-05/1.385, allocations: 24 kB / 0.7055 GB, free: 29.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003017/1.389, allocations: 0.7477 MB / 0.7063 GB, free: 28.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004474/1.393, allocations: 0.6321 MB / 0.7069 GB, free: 28.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/1.408, allocations: 12.79 MB / 0.7194 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004822/1.413, allocations: 101.3 kB / 0.7195 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000993/1.414, allocations: 124 kB / 0.7196 GB, free: 15.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (322): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 7 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001566/1.416, allocations: 180.1 kB / 0.7197 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007819/1.423, allocations: 3.851 MB / 0.7235 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009409/1.424, allocations: 292.4 kB / 0.7238 GB, free: 11.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007608/1.432, allocations: 4.091 MB / 0.7278 GB, free: 7.906 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-05/1.432, allocations: 27.98 kB / 0.7278 GB, free: 7.879 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.669e-05/1.432, allocations: 8 kB / 0.7278 GB, free: 7.871 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.478e-05/1.432, allocations: 18.95 kB / 0.7278 GB, free: 7.867 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2945/1.727, allocations: 8.34 MB / 0.736 GB, free: 66.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-05/1.727, allocations: 4.125 kB / 0.736 GB, free: 66.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/1.729, allocations: 384.9 kB / 0.7364 GB, free: 66.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002597/1.732, allocations: 0.9087 MB / 0.7372 GB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005113/1.732, allocations: 35.08 kB / 0.7373 GB, free: 66.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01354/1.746, allocations: 15.86 MB / 0.7528 GB, free: 57.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.455e-06/1.746, allocations: 8.406 kB / 0.7528 GB, free: 57.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.756, allocations: 6.244 MB / 0.7589 GB, free: 56.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/1.758, allocations: 0.6618 MB / 0.7595 GB, free: 56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006585/1.758, allocations: 20.08 kB / 0.7595 GB, free: 56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/1.76, allocations: 104 kB / 0.7596 GB, free: 56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004641/1.761, allocations: 194.7 kB / 0.7598 GB, free: 56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.761, allocations: 67.25 kB / 0.7599 GB, free: 56 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0026/1.763, allocations: 1.583 MB / 0.7614 GB, free: 55.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.763, allocations: 0 / 0.7614 GB, free: 55.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004738/1.768, allocations: 0.911 MB / 0.7623 GB, free: 55.85 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.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 (180): * Single equations (assignments): 171 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01205/1.78, allocations: 8.095 MB / 0.7702 GB, free: 53.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006665/1.787, allocations: 4.249 MB / 0.7744 GB, free: 52.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.787, allocations: 3.312 kB / 0.7744 GB, free: 52.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005213/1.792, allocations: 2.881 MB / 0.7772 GB, free: 51.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005251/1.797, allocations: 0.6376 MB / 0.7778 GB, free: 51.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02811/1.826, allocations: 9.37 MB / 0.787 GB, free: 49.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006018/1.832, allocations: 3.531 MB / 0.7904 GB, free: 47.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003696/1.835, allocations: 0.7197 MB / 0.7911 GB, free: 47.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003586/1.839, allocations: 1.945 MB / 0.793 GB, free: 46.18 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/1.839, allocations: 0 / 0.793 GB, free: 46.18 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/1.959, allocations: 74.8 MB / 0.8661 GB, free: 18.36 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/1.959, allocations: 180.9 kB / 0.8662 GB, free: 18.17 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.312/6.271, allocations: 3.5 kB / 0.8662 GB, free: 18.17 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat does not exist to compare? outputFormat=mat