Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 93.95 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 179.2 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005318/0.0005321, allocations: 23.27 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1236, allocations: 47.56 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01307/0.1367, allocations: 9.512 MB / 337.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008932/0.1457, allocations: 3.728 MB / 341.7 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.1481, allocations: 55.75 kB / 341.7 MB, free: 6.652 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.1506, allocations: 0.7152 MB / 342.4 MB, free: 5.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004041/0.1547, allocations: 0.8996 MB / 343.3 MB, free: 5.031 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.1561, allocations: 303.6 kB / 343.6 MB, free: 4.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005435/0.1616, allocations: 2.671 MB / 346.3 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00314/0.1647, allocations: 2.189 MB / 348.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.1674, allocations: 1.3 MB / 349.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003521/0.171, allocations: 1.634 MB / 351.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000782/0.1718, allocations: 208 kB / 351.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.1733, allocations: 275.9 kB / 351.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.1745, allocations: 0.9893 MB / 352.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.1759, allocations: 0.7537 MB / 353.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006301/0.1822, allocations: 5.228 MB / 358.9 MB, free: 5.418 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1823, allocations: 0 / 358.9 MB, free: 5.418 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1823, allocations: 3.938 kB / 358.9 MB, free: 5.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002231/0.1825, allocations: 0 / 358.9 MB, free: 5.414 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01089/0.1934, allocations: 3.648 MB / 362.5 MB, free: 1.699 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.363e-05/0.1935, allocations: 8.031 kB / 362.5 MB, free: 1.691 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002395/0.1959, allocations: 442.4 kB / 363 MB, free: 1.246 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.1977, allocations: 439 kB / 363.4 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005415/0.2032, allocations: 2.173 MB / 365.6 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/0.2034, allocations: 230.1 kB / 365.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005537/0.204, allocations: 307.8 kB / 366.1 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009738/0.2138, allocations: 4.326 MB / 370.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.668e-05/0.2139, allocations: 11.88 kB / 370.4 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003094/0.2142, allocations: 124 kB / 370.5 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/0.2144, allocations: 137.9 kB / 370.7 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007194/0.2216, allocations: 3.759 MB / 374.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3003/0.5219, allocations: 13.56 MB / 388 MB, free: 43.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004116/0.5261, allocations: 2.9 MB / 390.9 MB, free: 41.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/0.5264, allocations: 135 kB / 391 MB, free: 41.36 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.5265, allocations: 50.53 kB / 391.1 MB, free: 41.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 4.399e-06/0.5265, allocations: 0 / 391.1 MB, free: 41.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01947/0.5459, allocations: 9.345 MB / 400.4 MB, free: 36.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.546, allocations: 77.09 kB / 400.5 MB, free: 36.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003454/0.5495, allocations: 2.29 MB / 402.8 MB, free: 35.42 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000187/0.5497, allocations: 57.39 kB / 402.9 MB, free: 35.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008554/0.5506, allocations: 1.472 MB / 404.3 MB, free: 34.08 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000503/0.5511, allocations: 0.5945 MB / 404.9 MB, free: 33.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.5512, allocations: 41.75 kB / 405 MB, free: 33.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.5513, allocations: 389.4 kB / 405.3 MB, free: 33.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.553, allocations: 1.139 MB / 406.5 MB, free: 32.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.5547, allocations: 1.576 MB / 408.1 MB, free: 31.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.5563, allocations: 1.349 MB / 409.4 MB, free: 30.76 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.5563, allocations: 11.42 kB / 409.4 MB, free: 30.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005139/0.5615, allocations: 3.623 MB / 413 MB, free: 27.14 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.5615, allocations: 12 kB / 413 MB, free: 27.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.5615, allocations: 12 kB / 413.1 MB, free: 27.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/0.5633, allocations: 0.7981 MB / 413.9 MB, free: 26.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.5649, allocations: 463.2 kB / 414.3 MB, free: 25.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007849/0.5727, allocations: 10.51 MB / 424.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/0.5753, allocations: 132.4 kB / 425 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.5754, allocations: 80.05 kB / 425 MB, free: 14.48 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002087/0.5775, allocations: 1.087 MB / 426.1 MB, free: 13.38 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005878/0.5781, allocations: 241.1 kB / 426.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004836/0.583, allocations: 3.341 MB / 429.7 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.583, allocations: 16 kB / 429.7 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.583, allocations: 8 kB / 429.7 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.5831, allocations: 11.95 kB / 429.7 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.5938, allocations: 6.868 MB / 436.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.5939, allocations: 4 kB / 436.6 MB, free: 2.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.5951, allocations: 304.8 kB / 436.9 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002118/0.5972, allocations: 0.916 MB / 437.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/0.5973, allocations: 47.91 kB / 437.9 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/0.6101, allocations: 13.72 MB / 451.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.6101, allocations: 7.938 kB / 451.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008117/0.6182, allocations: 5.053 MB / 456.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001987/0.6202, allocations: 0.5761 MB / 457.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004095/0.6207, allocations: 32 kB / 457.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.6219, allocations: 131.9 kB / 457.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004272/0.6224, allocations: 151.1 kB / 457.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.6225, allocations: 51.94 kB / 457.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002812/0.6253, allocations: 1.574 MB / 459.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6253, allocations: 0 / 459.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003064/0.6284, allocations: 0.7102 MB / 459.9 MB, free: 10.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008197/0.6366, allocations: 6.107 MB / 466 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005698/0.6423, allocations: 3.622 MB / 469.6 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.6424, allocations: 0 / 469.6 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003746/0.6461, allocations: 2.535 MB / 472.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/0.6495, allocations: 0.6632 MB / 472.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04396/0.6935, allocations: 29.76 MB / 0.4908 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002494/0.696, allocations: 2.583 MB / 0.4933 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002374/0.6984, allocations: 0.5866 MB / 0.4939 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001732/0.7002, allocations: 1.257 MB / 0.4951 GB, free: 9.531 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.7002, allocations: 4 kB / 0.4951 GB, free: 9.527 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2901/0.9903, allocations: 63.39 MB / 0.557 GB, free: 139.8 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.9906, allocations: 235.1 kB / 0.5572 GB, free: 139.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.153/4.143, allocations: 0 / 0.5572 GB, free: 139.6 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat does not exist to compare? outputFormat=mat