Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2400,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002237/0.002237, allocations: 115.7 kB / 17.29 MB, free: 6.207 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.003187/0.003187, allocations: 197.3 kB / 18.21 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.618/3.618, allocations: 222.9 MB / 241.9 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3993/0.3993, allocations: 38.02 MB / 330 MB, free: 8.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 58.09 kB / 398.9 MB, free: 34.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2178, allocations: 58.07 MB / 457 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.02108/0.239, allocations: 8.348 MB / 465.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01737/0.2564, allocations: 5.47 MB / 470.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.2587, allocations: 51.69 kB / 470.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02022/0.2789, allocations: 5.828 MB / 476.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003686/0.2827, allocations: 469.9 kB / 477.2 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.2857, allocations: 470.8 kB / 477.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006189/0.2919, allocations: 2.312 MB / 479.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.2946, allocations: 0.9509 MB / 480.9 MB, free: 408 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00218/0.2968, allocations: 0.611 MB / 481.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002197/0.299, allocations: 0.7592 MB / 482.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004357/0.2995, allocations: 100 kB / 482.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.3006, allocations: 255.7 kB / 482.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008239/0.3015, allocations: 0.4909 MB / 483.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.3026, allocations: 0.5909 MB / 483.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002738/0.3054, allocations: 1.22 MB / 484.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.3054, allocations: 0 / 484.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.125e-06/0.3055, allocations: 0 / 484.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.935e-05/0.3055, allocations: 0 / 484.9 MB, free: 12.37 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.005812/0.3113, allocations: 1.46 MB / 486.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.744e-05/0.3115, allocations: 11.89 kB / 486.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.3126, allocations: 151.5 kB / 486.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002791/0.3155, allocations: 0.8704 MB / 487.4 MB, free: 9.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.059e-05/0.3156, allocations: 65.92 kB / 487.5 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002945/0.3159, allocations: 91.89 kB / 487.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/0.3194, allocations: 1.223 MB / 488.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/0.3195, allocations: 11.98 kB / 488.8 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.3196, allocations: 35.98 kB / 488.8 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003946/0.3201, allocations: 89.89 kB / 488.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002962/0.323, allocations: 1.007 MB / 489.9 MB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.3366, allocations: 4.912 MB / 494.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.3386, allocations: 0.6537 MB / 495.5 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.3397, allocations: 359.3 kB / 495.8 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.3399, allocations: 4.562 kB / 495.8 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/0.3413, allocations: 453.7 kB / 496.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 6.082e-06/0.3413, allocations: 0 / 496.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.009539/0.3508, allocations: 2.715 MB / 499 MB, free: 13.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/0.3511, allocations: 115.4 kB / 499.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.3532, allocations: 0.7506 MB / 499.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001785/0.3534, allocations: 41.7 kB / 499.9 MB, free: 12.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006619/0.3541, allocations: 0.4948 MB / 0.4887 GB, free: 12.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004283/0.3546, allocations: 244.6 kB / 0.4889 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004579/0.355, allocations: 178.5 kB / 0.4891 GB, free: 11.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00034/0.3554, allocations: 402.7 kB / 0.4894 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.3565, allocations: 373.7 kB / 0.4898 GB, free: 11.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.358, allocations: 0.6539 MB / 0.4904 GB, free: 10.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/0.3607, allocations: 1.053 MB / 0.4915 GB, free: 9.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.3607, allocations: 4 kB / 0.4915 GB, free: 9.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00551/0.3662, allocations: 1.627 MB / 0.4931 GB, free: 7.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/0.3663, allocations: 8 kB / 0.4931 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/0.3664, allocations: 11.94 kB / 0.4931 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/0.3689, allocations: 485.8 kB / 0.4935 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.3702, allocations: 175.7 kB / 0.4937 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/0.3869, allocations: 7.085 MB / 0.5006 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.3886, allocations: 44.05 kB / 0.5007 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.3888, allocations: 47.98 kB / 0.5007 GB, free: 15.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.001029/0.3898, allocations: 341.7 kB / 0.501 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.3901, allocations: 86.95 kB / 0.5011 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002975/0.3931, allocations: 1.122 MB / 0.5022 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.3931, allocations: 11.98 kB / 0.5022 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.3932, allocations: 8.125 kB / 0.5022 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.3932, allocations: 0 / 0.5022 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006081/0.3993, allocations: 2.123 MB / 0.5043 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.3993, allocations: 4 kB / 0.5043 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.4005, allocations: 119.8 kB / 0.5044 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008712/0.4014, allocations: 166.3 kB / 0.5046 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.4015, allocations: 31.98 kB / 0.5046 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006946/0.4085, allocations: 4.801 MB / 0.5093 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/0.4086, allocations: 7.922 kB / 0.5093 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/0.4126, allocations: 1.533 MB / 0.5108 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006742/0.4133, allocations: 208 kB / 0.511 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.4136, allocations: 27.92 kB / 0.511 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007933/0.4144, allocations: 31.97 kB / 0.5111 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/0.4146, allocations: 44.44 kB / 0.5111 GB, free: 3.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.899e-05/0.4147, allocations: 31.98 kB / 0.5111 GB, free: 3.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001233/0.416, allocations: 0.5107 MB / 0.5116 GB, free: 3.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.416, allocations: 0 / 0.5116 GB, free: 3.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002093/0.4181, allocations: 264.1 kB / 0.5119 GB, free: 3.168 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/0.4198, allocations: 428.2 kB / 0.5123 GB, free: 2.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004885/0.4247, allocations: 1.459 MB / 0.5137 GB, free: 1.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/0.4248, allocations: 0 / 0.5137 GB, free: 1.406 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002129/0.4269, allocations: 0.7847 MB / 0.5145 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.429, allocations: 217.2 kB / 0.5147 GB, free: 380 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3616/0.7905, allocations: 3.129 MB / 0.5178 GB, free: 69.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/0.792, allocations: 1.145 MB / 0.5189 GB, free: 69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005642/0.7926, allocations: 83.66 kB / 0.519 GB, free: 68.99 MB / 398.1 MB Notification: Performance of SimCode: time 1.693e-06/0.7926, allocations: 0 / 0.519 GB, free: 68.99 MB / 398.1 MB Notification: Performance of Templates: time 0.05968/0.8523, allocations: 22.79 MB / 0.5412 GB, free: 59.9 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1)