Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 98.3 kB / 18.4 MB, free: 4.66 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.001088/0.001088, allocations: 188.3 kB / 19.34 MB, free: 3.734 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.482/1.482, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001471/0.001471, allocations: 47.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09083/0.09231, allocations: 46.63 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.2051/0.2974, allocations: 8.79 MB / 384.6 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005385/0.3029, allocations: 2.888 MB / 387.5 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.3043, allocations: 39.5 kB / 387.6 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001657/0.306, allocations: 0.5968 MB / 388.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.3083, allocations: 0.6966 MB / 388.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008592/0.3091, allocations: 322.5 kB / 389.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002873/0.312, allocations: 2.243 MB / 391.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002682/0.3147, allocations: 1.701 MB / 393.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.3171, allocations: 1.015 MB / 394.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002108/0.3192, allocations: 1.288 MB / 395.4 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004766/0.3197, allocations: 269.5 kB / 395.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009552/0.3206, allocations: 354.8 kB / 396 MB, free: 3.219 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009276/0.3216, allocations: 0.763 MB / 396.8 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.3231, allocations: 1.203 MB / 398 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004448/0.3276, allocations: 3.532 MB / 401.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3276, allocations: 0 / 401.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3276, allocations: 0 / 401.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.819e-05/0.3277, allocations: 0 / 401.5 MB, free: 0.543 MB / 318.1 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.006674/0.3344, allocations: 2.484 MB / 404 MB, free: 14.8 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.3345, allocations: 10.19 kB / 404 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.3356, allocations: 249.6 kB / 404.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.338, allocations: 1.226 MB / 405.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.3381, allocations: 132.3 kB / 405.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003388/0.3385, allocations: 186.6 kB / 405.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00501/0.3435, allocations: 2.375 MB / 408.2 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.444e-05/0.3436, allocations: 9.422 kB / 408.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/0.3438, allocations: 72.31 kB / 408.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.3439, allocations: 92.53 kB / 408.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003923/0.3479, allocations: 1.965 MB / 410.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01199/0.3599, allocations: 7.059 MB / 417.4 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.3619, allocations: 1.277 MB / 418.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.3635, allocations: 0.8542 MB / 419.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002732/0.3638, allocations: 118.1 kB / 419.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.3639, allocations: 43.5 kB / 419.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 3.847e-06/0.3639, allocations: 4 kB / 419.7 MB, free: 3.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.0139/0.3778, allocations: 5.909 MB / 425.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.3779, allocations: 60.41 kB / 425.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.3798, allocations: 1.215 MB / 426.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.3799, allocations: 45.7 kB / 426.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/0.3805, allocations: 0.869 MB / 427.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/0.3808, allocations: 358.8 kB / 428.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003493/0.3811, allocations: 226.8 kB / 428.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3813, allocations: 357.8 kB / 428.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009879/0.3823, allocations: 0.6155 MB / 429.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.3835, allocations: 0.9196 MB / 430.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002272/0.3857, allocations: 1.64 MB / 431.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.3858, allocations: 4 kB / 431.9 MB, free: 6.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003802/0.3896, allocations: 2.227 MB / 434.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.3896, allocations: 8 kB / 434.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.3896, allocations: 11.94 kB / 434.1 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.3908, allocations: 472.2 kB / 434.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.3918, allocations: 271.6 kB / 434.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007087/0.3989, allocations: 7.021 MB / 441.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.4004, allocations: 79.98 kB / 441.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.4006, allocations: 55.98 kB / 442 MB, free: 12.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001291/0.4019, allocations: 0.5949 MB / 442.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004888/0.4024, allocations: 138.3 kB / 442.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003982/0.4064, allocations: 2.016 MB / 444.7 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.4065, allocations: 3.984 kB / 444.7 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4065, allocations: 4 kB / 444.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009386/0.4074, allocations: 347.3 kB / 445.1 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000456/0.4079, allocations: 27.94 kB / 445.1 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.409, allocations: 71.91 kB / 445.2 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.4092, allocations: 88.84 kB / 445.3 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004512/0.4138, allocations: 2.044 MB / 447.3 MB, free: 6.688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00412/0.4179, allocations: 2.404 MB / 449.7 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001098/0.419, allocations: 0.6714 MB / 450.4 MB, free: 3.598 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002051/0.4211, allocations: 0.8343 MB / 451.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of Backend: time 7.92e-07/0.4211, allocations: 0 / 451.2 MB, free: 2.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00445/0.4256, allocations: 1.748 MB / 453 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of SimCode: time 0.009622/0.4352, allocations: 4.201 MB / 457.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of Templates: time 0.05097/0.4862, allocations: 24.21 MB / 481.4 MB, free: 4.402 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1)