Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001589/0.001589, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.321/1.321, allocations: 194.3 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001607/0.001607, allocations: 116.7 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.532e-05/1.536e-05, allocations: 4 kB / 298.1 MB, free: 35.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06085/0.06088, allocations: 44.5 MB / 342.6 MB, free: 6.988 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/0.3429, allocations: 97.12 MB / 439.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.3432, allocations: 93.77 kB / 439.8 MB, free: 5.094 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1025/0.4457, allocations: 39.73 MB / 479.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4457, allocations: 0 / 479.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001226/0.4458, allocations: 47.94 kB / 479.6 MB, free: 5.93 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.003514/0.4494, allocations: 1.931 MB / 481.5 MB, free: 4.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.4494, allocations: 8.031 kB / 481.5 MB, free: 4.062 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000626/0.45, allocations: 257.2 kB / 481.8 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.4523, allocations: 1.326 MB / 483.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.4524, allocations: 60 kB / 483.2 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/0.4526, allocations: 120.2 kB / 483.3 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002763/0.4554, allocations: 1.69 MB / 485 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003244/0.4586, allocations: 2.026 MB / 487 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.359e-05/0.4587, allocations: 7.906 kB / 487 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.4589, allocations: 0 / 487 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.163e-05/0.459, allocations: 79.52 kB / 487.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.4691, allocations: 6.825 MB / 493.9 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.4707, allocations: 1.227 MB / 495.1 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009634/0.4717, allocations: 0.6624 MB / 495.8 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.472, allocations: 137.8 kB / 495.9 MB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.472, allocations: 43.28 kB / 496 MB, free: 5.227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 4.368e-06/0.472, allocations: 0 / 496 MB, free: 5.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.008906/0.4809, allocations: 4.574 MB / 0.4888 GB, free: 0.582 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.481, allocations: 64.72 kB / 0.4889 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.4825, allocations: 0.8431 MB / 0.4897 GB, free: 15.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.894e-05/0.4826, allocations: 25.7 kB / 0.4897 GB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006089/0.4832, allocations: 0.8722 MB / 0.4906 GB, free: 14.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.4835, allocations: 382.4 kB / 0.4909 GB, free: 14.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.4836, allocations: 0 / 0.4909 GB, free: 14.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4838, allocations: 357.9 kB / 0.4913 GB, free: 14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008496/0.4846, allocations: 0.6078 MB / 0.4919 GB, free: 13.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.4858, allocations: 0.9048 MB / 0.4928 GB, free: 12.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.4869, allocations: 0.7635 MB / 0.4935 GB, free: 11.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.4869, allocations: 0 / 0.4935 GB, free: 11.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003775/0.4907, allocations: 2.198 MB / 0.4956 GB, free: 9.379 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.4907, allocations: 15.94 kB / 0.4957 GB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.4907, allocations: 8 kB / 0.4957 GB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/0.4923, allocations: 0.6299 MB / 0.4963 GB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.4934, allocations: 279.6 kB / 0.4965 GB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006944/0.5004, allocations: 6.029 MB / 0.5024 GB, free: 2.184 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.5017, allocations: 67.95 kB / 0.5025 GB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.5019, allocations: 52 kB / 0.5025 GB, free: 2.066 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00028/0.5022, allocations: 137.3 kB / 0.5027 GB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003272/0.5025, allocations: 122.5 kB / 0.5028 GB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.5063, allocations: 2.071 MB / 0.5048 GB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.5063, allocations: 12 kB / 0.5048 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.5063, allocations: 4.125 kB / 0.5048 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.5063, allocations: 11.94 kB / 0.5048 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007342/0.5137, allocations: 4.023 MB / 0.5088 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.5137, allocations: 0 / 0.5088 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007663/0.5145, allocations: 172.1 kB / 0.5089 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/0.5164, allocations: 0.7174 MB / 0.5096 GB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.82e-05/0.5165, allocations: 15.97 kB / 0.5097 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008651/0.5251, allocations: 7.726 MB / 0.5172 GB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.5252, allocations: 3.984 kB / 0.5172 GB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004918/0.5301, allocations: 3.156 MB / 0.5203 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007938/0.5309, allocations: 347.3 kB / 0.5206 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003193/0.5313, allocations: 12 kB / 0.5206 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009151/0.5322, allocations: 59.91 kB / 0.5207 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/0.5324, allocations: 109 kB / 0.5208 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.621e-05/0.5326, allocations: 35.98 kB / 0.5208 GB, free: 14.72 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001093/0.5337, allocations: 0.6355 MB / 0.5214 GB, free: 14.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5337, allocations: 0 / 0.5214 GB, free: 14.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001518/0.5352, allocations: 404 kB / 0.5218 GB, free: 13.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005044/0.5357, allocations: 296.5 kB / 0.5221 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003383/0.5391, allocations: 2.111 MB / 0.5242 GB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5391, allocations: 0 / 0.5242 GB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002431/0.5416, allocations: 1.48 MB / 0.5256 GB, free: 9.672 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.5432, allocations: 273.3 kB / 0.5259 GB, free: 9.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005754/0.5489, allocations: 3.185 MB / 0.529 GB, free: 6.152 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.5505, allocations: 1.689 MB / 0.5306 GB, free: 4.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009466/0.5515, allocations: 271 kB / 0.5309 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.5518, allocations: 83.42 kB / 0.531 GB, free: 4.078 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5518, allocations: 4 kB / 0.531 GB, free: 4.074 MB / 394.7 MB Notification: Performance of Templates: time 0.2091/0.7609, allocations: 20.03 MB / 0.5505 GB, free: 105.2 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1)