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.001983/0.001983, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002106/0.002106, allocations: 169.6 kB / 24.28 MB, free: 152 kB / 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 1.597/1.597, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3358/0.3358, allocations: 29.41 MB / 290.5 MB, free: 2.422 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.563e-06/1.563e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.732e-05/3.888e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.01121/0.01124, allocations: 7.184 MB / 376.1 MB, free: 4.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006062/0.01731, allocations: 2.972 MB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006539/0.01796, allocations: 47.62 kB / 379.1 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.01926, allocations: 361.6 kB / 379.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.02099, allocations: 0.6679 MB / 380.1 MB, free: 32 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.02214, allocations: 451 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002162/0.0243, allocations: 1.527 MB / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.02596, allocations: 1.094 MB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.02719, allocations: 0.8261 MB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.02821, allocations: 0.5844 MB / 384.6 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002018/0.02842, allocations: 112 kB / 384.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007382/0.02915, allocations: 379.4 kB / 385.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004928/0.02965, allocations: 422.8 kB / 385.5 MB, free: 10.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005446/0.03019, allocations: 395.1 kB / 385.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.03257, allocations: 1.733 MB / 387.6 MB, free: 8.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.03258, allocations: 0 / 387.6 MB, free: 8.512 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.03258, allocations: 0 / 387.6 MB, free: 8.512 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.0326, allocations: 0 / 387.6 MB, free: 8.512 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.003229/0.03583, allocations: 1.581 MB / 389.2 MB, free: 6.891 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.03587, allocations: 11.98 kB / 389.2 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008987/0.03677, allocations: 248.1 kB / 389.4 MB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/0.03849, allocations: 0.7866 MB / 390.2 MB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.03868, allocations: 70.36 kB / 390.3 MB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.0389, allocations: 100.1 kB / 390.4 MB, free: 5.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.0409, allocations: 1.056 MB / 391.4 MB, free: 4.504 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.04094, allocations: 11.95 kB / 391.4 MB, free: 4.492 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.095e-05/0.04103, allocations: 32 kB / 391.5 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.04115, allocations: 69.95 kB / 391.5 MB, free: 4.395 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.04259, allocations: 0.6088 MB / 392.2 MB, free: 3.781 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007844/0.05043, allocations: 4.906 MB / 397.1 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.05163, allocations: 468.6 kB / 397.5 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/0.05217, allocations: 232.5 kB / 397.7 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.817e-05/0.05223, allocations: 12.5 kB / 397.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.05228, allocations: 41.89 kB / 397.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.414e-06/0.05228, allocations: 0 / 397.8 MB, free: 13.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=62): time 0.004918/0.0572, allocations: 1.832 MB / 399.6 MB, free: 12.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.05733, allocations: 170.6 kB / 399.8 MB, free: 11.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.05843, allocations: 0.7884 MB / 400.6 MB, free: 11.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.689e-05/0.05849, allocations: 41.86 kB / 400.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005457/0.05903, allocations: 0.5769 MB / 401.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002839/0.05932, allocations: 246 kB / 401.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003238/0.05964, allocations: 192.2 kB / 401.6 MB, free: 9.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004284/0.06007, allocations: 0.6133 MB / 402.2 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.06049, allocations: 179.6 kB / 402.4 MB, free: 9.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008383/0.06133, allocations: 0.5962 MB / 403 MB, free: 8.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003778/0.06511, allocations: 1.266 MB / 404.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.06511, allocations: 0 / 404.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003034/0.06815, allocations: 1.062 MB / 405.3 MB, free: 5.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.06817, allocations: 12 kB / 405.4 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.06819, allocations: 8 kB / 405.4 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002432/0.07062, allocations: 0.535 MB / 405.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.07123, allocations: 151.7 kB / 406 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009917/0.08115, allocations: 5.927 MB / 412 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/0.08181, allocations: 43.94 kB / 412 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.08191, allocations: 39.98 kB / 412.1 MB, free: 14.92 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 system: $DER.sm_ctrl.rotor.w = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008397/0.08275, allocations: 380.8 kB / 412.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008336/0.08359, allocations: 0.5923 MB / 413 MB, free: 13.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003512/0.0871, allocations: 1.246 MB / 414.3 MB, free: 12.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.356e-06/0.08711, allocations: 0 / 414.3 MB, free: 12.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.00285/0.08996, allocations: 1.007 MB / 415.3 MB, free: 11.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.08998, allocations: 12.03 kB / 415.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.09, allocations: 8 kB / 415.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002241/0.09224, allocations: 0.4951 MB / 415.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000581/0.09282, allocations: 143.8 kB / 415.9 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009119/0.1019, allocations: 5.781 MB / 421.7 MB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006405/0.1026, allocations: 31.98 kB / 421.7 MB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/0.1027, allocations: 36 kB / 421.8 MB, free: 4.625 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.0004157/0.1031, allocations: 327.8 kB / 422.1 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.1034, allocations: 103.4 kB / 422.2 MB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.1047, allocations: 0.5514 MB / 422.7 MB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.1047, allocations: 8 kB / 422.8 MB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1047, allocations: 4 kB / 422.8 MB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.1047, allocations: 7.922 kB / 422.8 MB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003387/0.1081, allocations: 1.526 MB / 424.3 MB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.128e-06/0.1081, allocations: 4 kB / 424.3 MB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007543/0.1089, allocations: 127.9 kB / 424.4 MB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.109, allocations: 27.67 kB / 424.4 MB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.1091, allocations: 19.94 kB / 424.5 MB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/0.111, allocations: 1.779 MB / 426.2 MB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.111, allocations: 7.938 kB / 426.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.1129, allocations: 1.057 MB / 427.3 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003851/0.1133, allocations: 123.6 kB / 427.4 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.1134, allocations: 20 kB / 427.4 MB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/0.1138, allocations: 27.97 kB / 427.5 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.1139, allocations: 48.52 kB / 427.5 MB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.114, allocations: 24.05 kB / 427.5 MB, free: 14.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007391/0.1147, allocations: 483 kB / 428 MB, free: 14.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1147, allocations: 0 / 428 MB, free: 14.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001657/0.1164, allocations: 411.9 kB / 428.4 MB, free: 13.74 MB / 410.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.000376/0.1168, allocations: 150.8 kB / 428.6 MB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004031/0.1208, allocations: 2.001 MB / 430.6 MB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.1208, allocations: 384 / 430.6 MB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007378/0.1215, allocations: 434.4 kB / 431 MB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.1227, allocations: 191.6 kB / 431.2 MB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.127, allocations: 1.843 MB / 433 MB, free: 8.988 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007346/0.1277, allocations: 0.49 MB / 433.5 MB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006805/0.1284, allocations: 181.8 kB / 433.7 MB, free: 8.285 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.1286, allocations: 60.48 kB / 433.8 MB, free: 8.227 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1286, allocations: 4 kB / 433.8 MB, free: 8.223 MB / 410.7 MB Notification: Performance of Templates: time 0.1699/0.2986, allocations: 15.73 MB / 449.5 MB, free: 104.9 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: 5.588757892954163]