Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.AIMC_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",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.001036/0.001036, allocations: 96.44 kB / 16.94 MB, free: 6.441 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.001176/0.001176, allocations: 183.8 kB / 17.83 MB, free: 6.008 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.652/1.652, 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.0004697/0.0004698, allocations: 8 kB / 280.9 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1201, allocations: 47.57 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.009327/0.1294, allocations: 7.907 MB / 336.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006614/0.1361, allocations: 3.038 MB / 339.4 MB, free: 9.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.1374, allocations: 39.81 kB / 339.4 MB, free: 8.977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.1388, allocations: 0.5558 MB / 340 MB, free: 8.418 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.1408, allocations: 0.697 MB / 340.7 MB, free: 7.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000708/0.1416, allocations: 235.7 kB / 340.9 MB, free: 7.488 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002471/0.144, allocations: 1.961 MB / 342.9 MB, free: 5.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.1459, allocations: 1.563 MB / 344.4 MB, free: 3.922 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.1473, allocations: 0.9458 MB / 345.4 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.1489, allocations: 1.191 MB / 346.6 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002632/0.1491, allocations: 148 kB / 346.7 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005514/0.1497, allocations: 219.9 kB / 346.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007369/0.1505, allocations: 0.7088 MB / 347.6 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005346/0.151, allocations: 0.551 MB / 348.2 MB, free: 152 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003563/0.1546, allocations: 3.728 MB / 351.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1546, allocations: 0 / 351.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1546, allocations: 0 / 351.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001421/0.1548, allocations: 0 / 351.9 MB, free: 12.41 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.007115/0.1619, allocations: 2.75 MB / 354.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.695e-05/0.162, allocations: 8.031 kB / 354.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008258/0.1628, allocations: 341 kB / 355 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008784/0.1637, allocations: 324.4 kB / 355.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.1669, allocations: 1.576 MB / 356.9 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.1671, allocations: 172.6 kB / 357.1 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003539/0.1674, allocations: 235.9 kB / 357.3 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005687/0.1731, allocations: 3.153 MB / 360.4 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.574e-05/0.1732, allocations: 11.88 kB / 360.4 MB, free: 3.625 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.1734, allocations: 92 kB / 360.5 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001104/0.1736, allocations: 108.4 kB / 360.6 MB, free: 3.426 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004872/0.1784, allocations: 2.75 MB / 363.4 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01596/0.1944, allocations: 9.907 MB / 373.3 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00256/0.197, allocations: 2.094 MB / 375.4 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002613/0.1973, allocations: 134.9 kB / 375.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.1974, allocations: 51.56 kB / 375.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 3.015e-06/0.1974, allocations: 0 / 375.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.2689/0.4663, allocations: 8.1 MB / 383.7 MB, free: 49.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.4665, allocations: 66 kB / 383.7 MB, free: 49.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/0.4705, allocations: 1.619 MB / 385.4 MB, free: 48.78 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.4707, allocations: 47.48 kB / 385.4 MB, free: 48.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001377/0.4721, allocations: 1.094 MB / 386.5 MB, free: 47.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006962/0.4728, allocations: 488.9 kB / 387 MB, free: 47.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.465e-05/0.4729, allocations: 29.47 kB / 387 MB, free: 47.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.4731, allocations: 370.6 kB / 387.4 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002251/0.4754, allocations: 0.9186 MB / 388.3 MB, free: 46.85 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.4776, allocations: 1.267 MB / 389.6 MB, free: 46.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.4797, allocations: 1.077 MB / 390.6 MB, free: 45.69 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/0.4797, allocations: 2.281 kB / 390.6 MB, free: 45.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006409/0.4861, allocations: 3.065 MB / 393.7 MB, free: 44.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/0.4862, allocations: 9.625 kB / 393.7 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/0.4863, allocations: 9.625 kB / 393.7 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002463/0.4887, allocations: 0.834 MB / 394.5 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.49, allocations: 312.6 kB / 394.9 MB, free: 44.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/0.5002, allocations: 9.331 MB / 404.2 MB, free: 37.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/0.5023, allocations: 97.59 kB / 404.3 MB, free: 37.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.5024, allocations: 60.56 kB / 404.3 MB, free: 37.36 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 150 * 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: 3 * 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: 3 {(2,100.0%) 12,(9,33.3%) 19,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002001/0.5044, allocations: 0.8158 MB / 405.2 MB, free: 36.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005075/0.505, allocations: 179.2 kB / 405.3 MB, free: 36.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004491/0.5094, allocations: 2.866 MB / 408.2 MB, free: 34.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.5095, allocations: 16 kB / 408.2 MB, free: 34.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.5095, allocations: 8 kB / 408.2 MB, free: 34.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.5095, allocations: 8.625 kB / 408.2 MB, free: 34.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009733/0.5193, allocations: 5.665 MB / 413.9 MB, free: 28.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.5194, allocations: 0 / 413.9 MB, free: 28.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/0.5202, allocations: 196 kB / 414.1 MB, free: 28.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00208/0.5223, allocations: 0.8971 MB / 415 MB, free: 27.17 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.5224, allocations: 35.98 kB / 415 MB, free: 27.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/0.533, allocations: 10.84 MB / 425.9 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.533, allocations: 4.031 kB / 425.9 MB, free: 15.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006795/0.5398, allocations: 4.331 MB / 430.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/0.5415, allocations: 458.7 kB / 430.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/0.5417, allocations: 36 kB / 430.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008908/0.5426, allocations: 89.5 kB / 430.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004232/0.5431, allocations: 149.1 kB / 430.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-05/0.5432, allocations: 39.94 kB / 431 MB, free: 10.55 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001653/0.5448, allocations: 1.111 MB / 432.1 MB, free: 9.445 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5448, allocations: 0 / 432.1 MB, free: 9.445 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002262/0.5471, allocations: 0.5547 MB / 432.6 MB, free: 8.891 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006035/0.5532, allocations: 5.528 MB / 438.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004354/0.5575, allocations: 3.025 MB / 441.2 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.5576, allocations: 0 / 441.2 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003275/0.5609, allocations: 2.062 MB / 443.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/0.5634, allocations: 458.8 kB / 443.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03484/0.5982, allocations: 22.65 MB / 466.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001932/0.6002, allocations: 2.067 MB / 468.4 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001615/0.6019, allocations: 415.3 kB / 468.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/0.6032, allocations: 0.882 MB / 469.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.485e-06/0.6032, allocations: 0 / 469.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09857/0.7018, allocations: 48.29 MB / 0.5058 GB, free: 2.285 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/0.7021, allocations: 244 kB / 0.5061 GB, free: 2.031 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.746/3.448, allocations: 0 / 0.5061 GB, free: 2.031 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.AIMC_YD_res.mat does not exist to compare? outputFormat=mat