Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 167 kB / 25.61 MB, free: 8.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.895/0.895, allocations: 177.1 MB / 206 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1219/0.1219, allocations: 29.42 MB / 292 MB, free: 2.625 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.13e-05, allocations: 2.312 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.005815/0.005836, allocations: 7.221 MB / 378.1 MB, free: 25.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005035/0.01087, allocations: 5.054 MB / 383.1 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005494/0.01142, allocations: 47.62 kB / 383.2 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006302/0.01772, allocations: 6.529 MB / 389.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009489/0.01867, allocations: 0.6057 MB / 390.3 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009261/0.0196, allocations: 0.6041 MB / 390.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002042/0.02164, allocations: 2.787 MB / 393.7 MB, free: 9.383 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009409/0.02258, allocations: 1.206 MB / 394.9 MB, free: 8.152 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000875/0.02346, allocations: 1.021 MB / 395.9 MB, free: 7.129 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007153/0.02417, allocations: 0.7947 MB / 396.7 MB, free: 6.332 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.02431, allocations: 140 kB / 396.9 MB, free: 6.195 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003611/0.02467, allocations: 271.7 kB / 397.1 MB, free: 5.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.02493, allocations: 0.5493 MB / 397.7 MB, free: 5.379 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002957/0.02522, allocations: 494.8 kB / 398.2 MB, free: 4.895 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009446/0.02617, allocations: 1.254 MB / 399.4 MB, free: 3.637 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.02617, allocations: 0 / 399.4 MB, free: 3.637 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02617, allocations: 0 / 399.4 MB, free: 3.637 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.02619, allocations: 0 / 399.4 MB, free: 3.637 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 231 * Number of variables: 231 Notification: Performance of Generate backend data structure: time 0.002724/0.02891, allocations: 1.7 MB / 401.1 MB, free: 1.895 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.02895, allocations: 12.03 kB / 401.1 MB, free: 1.883 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004351/0.02938, allocations: 236 kB / 401.4 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.03039, allocations: 0.9941 MB / 402.4 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.03042, allocations: 62 kB / 402.4 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.03052, allocations: 95.94 kB / 402.5 MB, free: 480 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007986/0.03132, allocations: 0.8894 MB / 403.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.03134, allocations: 3.984 kB / 403.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.03141, allocations: 35.94 kB / 403.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/0.03156, allocations: 81.94 kB / 403.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004965/0.03206, allocations: 369.5 kB / 403.9 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003582/0.03564, allocations: 4.115 MB / 408 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.03613, allocations: 428.6 kB / 408.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.03637, allocations: 197 kB / 408.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.507e-05/0.03643, allocations: 24.64 kB / 408.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003778/0.03681, allocations: 358.8 kB / 409 MB, free: 9.688 MB / 330.7 MB Notification: Performance of pre-optimization done (n=79): time 2.495e-06/0.03681, allocations: 4 kB / 409 MB, free: 9.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=81): time 0.00327/0.04008, allocations: 1.784 MB / 410.8 MB, free: 7.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.04014, allocations: 196.6 kB / 411 MB, free: 7.609 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005056/0.04065, allocations: 0.7449 MB / 411.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.0407, allocations: 41.7 kB / 411.8 MB, free: 6.801 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.04099, allocations: 0.6006 MB / 412.4 MB, free: 6.191 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.04115, allocations: 313.3 kB / 412.7 MB, free: 5.883 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.04135, allocations: 192.2 kB / 412.8 MB, free: 5.688 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.04148, allocations: 0.5198 MB / 413.4 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.04167, allocations: 147.6 kB / 413.5 MB, free: 5.012 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003497/0.04202, allocations: 0.557 MB / 414.1 MB, free: 4.301 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005835/0.0426, allocations: 0.6803 MB / 414.7 MB, free: 3.492 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.04261, allocations: 3.938 kB / 414.8 MB, free: 3.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003453/0.04606, allocations: 1.644 MB / 416.4 MB, free: 1.824 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.04608, allocations: 14.02 kB / 416.4 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.04609, allocations: 4 kB / 416.4 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006059/0.05215, allocations: 2.418 MB / 418.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.05244, allocations: 143.7 kB / 419 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007927/0.06037, allocations: 7.267 MB / 426.2 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.06077, allocations: 43.98 kB / 426.3 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.06083, allocations: 47.8 kB / 426.3 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003919/0.06122, allocations: 288.7 kB / 426.6 MB, free: 7.367 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003928/0.06161, allocations: 0.5531 MB / 427.2 MB, free: 6.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008184/0.06243, allocations: 0.6686 MB / 427.8 MB, free: 5.867 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.06243, allocations: 0 / 427.8 MB, free: 5.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003367/0.0658, allocations: 1.62 MB / 429.5 MB, free: 4.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.06581, allocations: 8 kB / 429.5 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.06582, allocations: 8 kB / 429.5 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005884/0.0717, allocations: 2.411 MB / 431.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.072, allocations: 139.7 kB / 432 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007834/0.07983, allocations: 7.215 MB / 439.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/0.08024, allocations: 32 kB / 439.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.829e-05/0.0803, allocations: 43.97 kB / 439.3 MB, free: 10.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,PI_i_q.I.local_reset,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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 {(9,40)} Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.08052, allocations: 327.8 kB / 439.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.08066, allocations: 127.3 kB / 439.8 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.08189, allocations: 0.842 MB / 440.6 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.0819, allocations: 8 kB / 440.6 MB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.08191, allocations: 4 kB / 440.6 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.08192, allocations: 7.984 kB / 440.6 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.084, allocations: 1.562 MB / 442.2 MB, free: 7.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.084, allocations: 3.938 kB / 442.2 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.08466, allocations: 151.8 kB / 442.3 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007018/0.08536, allocations: 310.4 kB / 442.6 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.08542, allocations: 27.98 kB / 442.7 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003304/0.08873, allocations: 7.229 MB / 449.9 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.08873, allocations: 4 kB / 449.9 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.09018, allocations: 1.148 MB / 451 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.09041, allocations: 175.2 kB / 451.2 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.361e-05/0.09051, allocations: 24 kB / 451.2 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.09078, allocations: 27.98 kB / 451.3 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.09092, allocations: 76.86 kB / 451.3 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.09096, allocations: 27.98 kB / 451.4 MB, free: 13.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003281/0.09129, allocations: 434.8 kB / 451.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09129, allocations: 0 / 451.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001374/0.09266, allocations: 0.5624 MB / 452.3 MB, free: 12.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (asm_ctrl.rotor.phi,asm_ctrl.rotor.w,asm_ctrl.motor.i[3],asm_ctrl.motor.psi_s[1],asm_ctrl.motor.psi_s[2],asm_ctrl.motor.psi_rd[1],asm_ctrl.motor.psi_rd[2],asm_ctrl.motor.psi_rq[1],asm_ctrl.motor.psi_rq[2],asm_ctrl.motor.phiRotorflux,tabLoad.s,PI_i_q.I.y) * 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 (82): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (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.0009333/0.0936, allocations: 486.5 kB / 452.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003031/0.09663, allocations: 2.419 MB / 455.2 MB, free: 9.711 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.09663, allocations: 4 kB / 455.2 MB, free: 9.707 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007976/0.09743, allocations: 1.046 MB / 456.3 MB, free: 8.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/0.09811, allocations: 248.6 kB / 456.5 MB, free: 8.363 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.1011, allocations: 2.357 MB / 458.9 MB, free: 5.957 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1014, allocations: 345.2 kB / 459.2 MB, free: 5.594 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004078/0.1018, allocations: 151.7 kB / 459.4 MB, free: 5.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004347/0.1023, allocations: 302 kB / 459.7 MB, free: 5.145 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1023, allocations: 0 / 459.7 MB, free: 5.145 MB / 378.7 MB Notification: Performance of Templates: time 0.03378/0.136, allocations: 34.03 MB / 493.7 MB, free: 3.379 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.993488524109125]