Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002205/0.002204, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009299/0.0009302, allocations: 78.69 kB / 271.5 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000242/0.0002422, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2169, allocations: 47.58 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1147/0.3316, allocations: 109.1 MB / 485 MB, free: 3.484 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.3319, allocations: 91.94 kB / 485.1 MB, free: 3.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2871/0.6191, allocations: 51.97 MB / 0.5245 GB, free: 93.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6191, allocations: 0 / 0.5245 GB, free: 93.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002855/0.6194, allocations: 59.94 kB / 0.5246 GB, free: 93.27 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.006818/0.6262, allocations: 2.766 MB / 0.5273 GB, free: 90.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.6263, allocations: 8.031 kB / 0.5273 GB, free: 90.43 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001096/0.6274, allocations: 362.5 kB / 0.5276 GB, free: 90.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.6287, allocations: 336.3 kB / 0.5279 GB, free: 89.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/0.6329, allocations: 1.781 MB / 0.5297 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.6331, allocations: 163.6 kB / 0.5298 GB, free: 87.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007527/0.6339, allocations: 211.9 kB / 0.53 GB, free: 87.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005701/0.6396, allocations: 2.709 MB / 0.5327 GB, free: 84.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.006e-05/0.6397, allocations: 11.89 kB / 0.5327 GB, free: 84.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003878/0.6401, allocations: 84 kB / 0.5328 GB, free: 84.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.6402, allocations: 92.05 kB / 0.5329 GB, free: 84.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004166/0.6444, allocations: 2.198 MB / 0.535 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01373/0.6581, allocations: 8.394 MB / 0.5432 GB, free: 73.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/0.6606, allocations: 1.686 MB / 0.5448 GB, free: 72.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002963/0.661, allocations: 140 kB / 0.545 GB, free: 71.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.661, allocations: 51.48 kB / 0.545 GB, free: 71.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 3.707e-06/0.661, allocations: 0 / 0.545 GB, free: 71.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=135): time 0.01154/0.6726, allocations: 6.68 MB / 0.5516 GB, free: 65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.6726, allocations: 64.72 kB / 0.5516 GB, free: 64.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/0.6755, allocations: 1.889 MB / 0.5535 GB, free: 62.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.6756, allocations: 49.7 kB / 0.5535 GB, free: 62.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/0.6761, allocations: 1.115 MB / 0.5546 GB, free: 61.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/0.6764, allocations: 469.8 kB / 0.555 GB, free: 61.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/0.6764, allocations: 27.94 kB / 0.5551 GB, free: 61.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.053e-05/0.6765, allocations: 365.9 kB / 0.5554 GB, free: 60.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.6777, allocations: 0.7691 MB / 0.5562 GB, free: 60.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.6788, allocations: 1.009 MB / 0.5572 GB, free: 59.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.68, allocations: 0.9082 MB / 0.558 GB, free: 58.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.6801, allocations: 4 kB / 0.558 GB, free: 58.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004357/0.6844, allocations: 2.838 MB / 0.5608 GB, free: 55.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.6845, allocations: 11.28 kB / 0.5608 GB, free: 55.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.6845, allocations: 8 kB / 0.5608 GB, free: 55.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/0.6864, allocations: 0.8463 MB / 0.5617 GB, free: 54.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.6874, allocations: 263.6 kB / 0.5619 GB, free: 54.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009751/0.6972, allocations: 9.656 MB / 0.5713 GB, free: 44.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.6986, allocations: 99.97 kB / 0.5714 GB, free: 44.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.6987, allocations: 55.98 kB / 0.5715 GB, free: 44.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001311/0.7, allocations: 0.7394 MB / 0.5722 GB, free: 43.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005139/0.7006, allocations: 205.6 kB / 0.5724 GB, free: 43.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004645/0.7052, allocations: 2.591 MB / 0.5749 GB, free: 40.56 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.7052, allocations: 12 kB / 0.5749 GB, free: 40.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/0.7053, allocations: 12 kB / 0.575 GB, free: 40.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.7053, allocations: 7.969 kB / 0.575 GB, free: 40.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008968/0.7143, allocations: 5.12 MB / 0.58 GB, free: 35.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/0.7143, allocations: 4 kB / 0.58 GB, free: 35.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009689/0.7153, allocations: 219.9 kB / 0.5802 GB, free: 35.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/0.717, allocations: 0.7105 MB / 0.5809 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.7171, allocations: 39.97 kB / 0.5809 GB, free: 34.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007781/0.7249, allocations: 8.687 MB / 0.5894 GB, free: 25.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7249, allocations: 0 / 0.5894 GB, free: 25.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005407/0.7303, allocations: 3.728 MB / 0.593 GB, free: 21.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.7316, allocations: 470.5 kB / 0.5935 GB, free: 20.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004632/0.7321, allocations: 35.95 kB / 0.5935 GB, free: 20.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.7333, allocations: 95.89 kB / 0.5936 GB, free: 20.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/0.7336, allocations: 105.1 kB / 0.5937 GB, free: 20.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.7337, allocations: 43.97 kB / 0.5938 GB, free: 20.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002437/0.7362, allocations: 1.476 MB / 0.5952 GB, free: 19.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7362, allocations: 4 kB / 0.5952 GB, free: 19.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002557/0.7387, allocations: 0.5936 MB / 0.5958 GB, free: 18.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007165/0.7459, allocations: 5.135 MB / 0.6008 GB, free: 13.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003951/0.7499, allocations: 2.515 MB / 0.6033 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.7499, allocations: 0 / 0.6033 GB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002377/0.7523, allocations: 1.737 MB / 0.6049 GB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.7546, allocations: 423.1 kB / 0.6054 GB, free: 8.684 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0318/0.7864, allocations: 21.18 MB / 0.626 GB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.7888, allocations: 2.018 MB / 0.628 GB, free: 428 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001519/0.7903, allocations: 395.8 kB / 0.6284 GB, free: 28 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/0.7918, allocations: 0.9562 MB / 0.6293 GB, free: 15.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/0.7918, allocations: 0 / 0.6293 GB, free: 15.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2818/1.074, allocations: 51.99 MB / 0.6801 GB, free: 102.7 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/1.074, allocations: 290.1 kB / 0.6804 GB, free: 102.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.504/4.578, allocations: 0 / 0.6804 GB, free: 102.3 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)