Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.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.0009339/0.0009339, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009205/0.0009205, allocations: 165.8 kB / 24.99 MB, free: 8.336 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.9525/0.9525, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.2535/0.2535, allocations: 29.42 MB / 291.2 MB, free: 2.512 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.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") translateModel(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 369.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.883e-05, allocations: 6.312 kB / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.00687/0.006889, allocations: 7.25 MB / 376.9 MB, free: 4.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003803/0.01069, allocations: 2.968 MB / 379.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.01116, allocations: 47.62 kB / 379.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008095/0.01197, allocations: 373.5 kB / 380.2 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.013, allocations: 0.6641 MB / 380.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000629/0.01363, allocations: 455 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.01486, allocations: 1.523 MB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008821/0.01574, allocations: 1.094 MB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006714/0.01641, allocations: 0.8262 MB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005741/0.01699, allocations: 0.5726 MB / 385.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.0171, allocations: 116 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003912/0.01749, allocations: 375.4 kB / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.01775, allocations: 430.8 kB / 386.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003117/0.01806, allocations: 403 kB / 386.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.01908, allocations: 1.133 MB / 387.8 MB, free: 9.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.01908, allocations: 0 / 387.8 MB, free: 9.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01908, allocations: 0 / 387.8 MB, free: 9.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.0191, allocations: 0 / 387.8 MB, free: 9.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001613/0.02071, allocations: 1.487 MB / 389.3 MB, free: 7.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.02074, allocations: 15.98 kB / 389.3 MB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005275/0.02127, allocations: 240.1 kB / 389.5 MB, free: 7.293 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008854/0.02215, allocations: 0.7904 MB / 390.3 MB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.02219, allocations: 62.38 kB / 390.4 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.02233, allocations: 100.1 kB / 390.5 MB, free: 6.312 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000966/0.02329, allocations: 0.8572 MB / 391.3 MB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.02332, allocations: 11.94 kB / 391.4 MB, free: 5.348 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.02338, allocations: 39.98 kB / 391.4 MB, free: 5.309 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.048e-05/0.02345, allocations: 57.98 kB / 391.5 MB, free: 5.254 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006572/0.0241, allocations: 411.5 kB / 391.9 MB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/0.02773, allocations: 4.35 MB / 396.2 MB, free: 320 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000562/0.02829, allocations: 388.1 kB / 396.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.02856, allocations: 176 kB / 396.8 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.0286, allocations: 16.44 kB / 396.8 MB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.02864, allocations: 41.89 kB / 396.8 MB, free: 15.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.925e-06/0.02865, allocations: 4 kB / 396.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=62): time 0.002583/0.03123, allocations: 1.598 MB / 398.4 MB, free: 14.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.03129, allocations: 162.9 kB / 398.6 MB, free: 13.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/0.03177, allocations: 0.6204 MB / 399.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.0318, allocations: 37.7 kB / 399.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.03205, allocations: 0.5339 MB / 399.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.03218, allocations: 242 kB / 400 MB, free: 12.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.03233, allocations: 148.3 kB / 400.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002543/0.03258, allocations: 0.5625 MB / 400.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.03278, allocations: 119.6 kB / 400.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.03314, allocations: 0.522 MB / 401.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008363/0.03398, allocations: 0.7602 MB / 402.1 MB, free: 9.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.03398, allocations: 4 kB / 402.1 MB, free: 9.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001472/0.03546, allocations: 0.9283 MB / 403 MB, free: 8.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.03548, allocations: 18.53 kB / 403.1 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.03549, allocations: 8 kB / 403.1 MB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.03691, allocations: 495.9 kB / 403.5 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.03729, allocations: 147.7 kB / 403.7 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005327/0.04261, allocations: 5.425 MB / 409.1 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.04317, allocations: 35.98 kB / 409.2 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.04322, allocations: 32 kB / 409.2 MB, free: 2.562 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.sm_ctrl.rotor.w = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004169/0.04364, allocations: 256.8 kB / 409.4 MB, free: 2.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003833/0.04402, allocations: 0.5065 MB / 409.9 MB, free: 1.641 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008746/0.0449, allocations: 0.764 MB / 410.7 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.322e-06/0.0449, allocations: 4 kB / 410.7 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.001498/0.0464, allocations: 0.8821 MB / 411.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.04642, allocations: 11.98 kB / 411.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.04642, allocations: 8 kB / 411.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.04757, allocations: 491.4 kB / 412.1 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.04786, allocations: 147.7 kB / 412.2 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0043/0.05216, allocations: 5.374 MB / 417.6 MB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.05255, allocations: 31.98 kB / 417.6 MB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.05259, allocations: 32 kB / 417.7 MB, free: 9.504 MB / 394.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.sm_ctrl.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_i_q.I.local_reset) * 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 {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.05281, allocations: 323.8 kB / 418 MB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.05294, allocations: 103.4 kB / 418.1 MB, free: 9.078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006416/0.05358, allocations: 480.6 kB / 418.6 MB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.05358, allocations: 4 kB / 418.6 MB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.05359, allocations: 4 kB / 418.6 MB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.05359, allocations: 3.984 kB / 418.6 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.05533, allocations: 1.228 MB / 419.8 MB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.05533, allocations: 0 / 419.8 MB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.0557, allocations: 135.9 kB / 419.9 MB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.587e-05/0.0558, allocations: 31.61 kB / 420 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.05583, allocations: 15.98 kB / 420 MB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006926/0.05653, allocations: 1.732 MB / 421.7 MB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.05653, allocations: 0 / 421.7 MB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008991/0.05743, allocations: 0.8698 MB / 422.6 MB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.05764, allocations: 123.5 kB / 422.7 MB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.05769, allocations: 23.98 kB / 422.7 MB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.0579, allocations: 23.98 kB / 422.7 MB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.05798, allocations: 44.52 kB / 422.8 MB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.05801, allocations: 19.98 kB / 422.8 MB, free: 4.121 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003022/0.05831, allocations: 387 kB / 423.2 MB, free: 3.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05831, allocations: 4.031 kB / 423.2 MB, free: 3.746 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001166/0.05947, allocations: 415.9 kB / 423.6 MB, free: 3.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (sm_ctrl.motor.i_s[1],sm_ctrl.motor.i_s[2],sm_ctrl.motor.i_s[3],loadInertia.w,frictTorq.phi,PI_i_q.I.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,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.0002804/0.05976, allocations: 137.9 kB / 423.7 MB, free: 3.195 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002013/0.06177, allocations: 1.766 MB / 425.5 MB, free: 1.359 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.06177, allocations: 0 / 425.5 MB, free: 1.359 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.06208, allocations: 374.4 kB / 425.9 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006453/0.06273, allocations: 202.7 kB / 426.1 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.0654, allocations: 1.781 MB / 427.8 MB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.06564, allocations: 260.7 kB / 428.1 MB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000416/0.06605, allocations: 181.8 kB / 428.3 MB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.06618, allocations: 56.48 kB / 428.3 MB, free: 14.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.06618, allocations: 0 / 428.3 MB, free: 14.43 MB / 410.7 MB Notification: Performance of Templates: time 0.1623/0.2285, allocations: 15.75 MB / 444.1 MB, free: 96.66 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.543383913114667]