Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.001498/0.001498, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001147/0.001147, allocations: 161 kB / 24.56 MB, free: 16 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 0.9425/0.9425, allocations: 177.1 MB / 205 MB, free: 4.699 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.2735/0.2735, allocations: 29.41 MB / 290.9 MB, free: 2.414 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.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.015e-05/3.2e-05, allocations: 4.141 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007617/0.007649, allocations: 5.205 MB / 374.8 MB, free: 5.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006616/0.01427, allocations: 3.806 MB / 378.6 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000526/0.01479, allocations: 23.81 kB / 378.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006913/0.0217, allocations: 5.368 MB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006273/0.02233, allocations: 338.1 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.02274, allocations: 223.6 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001768/0.02451, allocations: 1.672 MB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005907/0.0251, allocations: 0.534 MB / 386.8 MB, free: 9.785 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000552/0.02565, allocations: 0.5221 MB / 387.3 MB, free: 9.262 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004446/0.02609, allocations: 394.9 kB / 387.7 MB, free: 8.875 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.02616, allocations: 52 kB / 387.8 MB, free: 8.824 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.02633, allocations: 71.98 kB / 387.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.02655, allocations: 267.3 kB / 388.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.02677, allocations: 211.5 kB / 388.3 MB, free: 8.285 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006367/0.02741, allocations: 0.5022 MB / 388.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.02741, allocations: 0 / 388.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.02741, allocations: 4 kB / 388.8 MB, free: 7.777 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.02742, allocations: 3.938 kB / 388.8 MB, free: 7.773 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001116/0.02854, allocations: 0.9061 MB / 389.7 MB, free: 6.828 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.02858, allocations: 19.97 kB / 389.7 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.02884, allocations: 104.5 kB / 389.8 MB, free: 6.707 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/0.02955, allocations: 0.5058 MB / 390.3 MB, free: 6.176 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.02958, allocations: 33.38 kB / 390.4 MB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.02965, allocations: 43.94 kB / 390.4 MB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005562/0.03021, allocations: 461.1 kB / 390.9 MB, free: 5.598 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.03022, allocations: 3.953 kB / 390.9 MB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.03025, allocations: 19.94 kB / 390.9 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-05/0.03034, allocations: 52.97 kB / 390.9 MB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.03064, allocations: 197.7 kB / 391.1 MB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.03249, allocations: 2.519 MB / 393.6 MB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.03277, allocations: 197.6 kB / 393.8 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.255e-05/0.03286, allocations: 79.41 kB / 393.9 MB, free: 2.379 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.03288, allocations: 8 kB / 393.9 MB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.03291, allocations: 33.39 kB / 394 MB, free: 2.328 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.784e-06/0.03291, allocations: 4 kB / 394 MB, free: 2.324 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001566/0.03448, allocations: 0.9365 MB / 394.9 MB, free: 1.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.03453, allocations: 89.03 kB / 395 MB, free: 1.234 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.03481, allocations: 410.6 kB / 395.4 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.03483, allocations: 29.7 kB / 395.4 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.035, allocations: 366.8 kB / 395.8 MB, free: 424 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.551e-05/0.03506, allocations: 115 kB / 395.9 MB, free: 308 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-05/0.03514, allocations: 87.8 kB / 396 MB, free: 212 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.03529, allocations: 0.5313 MB / 396.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.579e-05/0.03538, allocations: 48.97 kB / 396.6 MB, free: 15.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.03556, allocations: 274.4 kB / 396.8 MB, free: 15.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.03585, allocations: 349.1 kB / 397.2 MB, free: 14.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.03585, allocations: 7.938 kB / 397.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005635/0.03642, allocations: 452.7 kB / 397.6 MB, free: 14.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.03644, allocations: 4 kB / 397.6 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.03645, allocations: 8 kB / 397.6 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003289/0.03677, allocations: 127.2 kB / 397.7 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.03696, allocations: 76 kB / 397.8 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.03895, allocations: 3.824 MB / 401.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.03908, allocations: 12 kB / 401.7 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.03911, allocations: 20 kB / 401.7 MB, free: 10.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * 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 initialization (42): * Single equations (assignments): 40 * 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): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.03926, allocations: 188.3 kB / 401.9 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.03931, allocations: 47.77 kB / 401.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004877/0.0398, allocations: 353.3 kB / 402.3 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.0398, allocations: 4 kB / 402.3 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003456/0.04015, allocations: 278.4 kB / 402.5 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.04015, allocations: 0 / 402.5 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008118/0.04096, allocations: 0.7812 MB / 403.3 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.04097, allocations: 4 kB / 403.3 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.04108, allocations: 52.03 kB / 403.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001708/0.04125, allocations: 71.84 kB / 403.4 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.04127, allocations: 4 kB / 403.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.04244, allocations: 2.018 MB / 405.5 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.04244, allocations: 0 / 405.5 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/0.04297, allocations: 0.4973 MB / 406 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.44e-05/0.04305, allocations: 59.69 kB / 406 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.04308, allocations: 12.06 kB / 406 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.079e-05/0.04317, allocations: 8 kB / 406 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.04323, allocations: 27.89 kB / 406.1 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.04324, allocations: 8 kB / 406.1 MB, free: 5.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001917/0.04343, allocations: 271.1 kB / 406.3 MB, free: 5.121 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04343, allocations: 0 / 406.3 MB, free: 5.121 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003815/0.04382, allocations: 119.9 kB / 406.4 MB, free: 5.004 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * 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 (22): * Single equations (assignments): 20 * 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 {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001165/0.04393, allocations: 103.2 kB / 406.5 MB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006533/0.04459, allocations: 0.6176 MB / 407.2 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.04459, allocations: 0 / 407.2 MB, free: 4.238 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.04482, allocations: 309.4 kB / 407.5 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.04522, allocations: 89.59 kB / 407.6 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.04692, allocations: 0.9946 MB / 408.5 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.04705, allocations: 169.2 kB / 408.7 MB, free: 2.602 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001593/0.0472, allocations: 67.34 kB / 408.8 MB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.04727, allocations: 36.5 kB / 408.8 MB, free: 2.496 MB / 378.7 MB Notification: Performance of SimCode: time 1.894e-06/0.04727, allocations: 0 / 408.8 MB, free: 2.496 MB / 378.7 MB Notification: Performance of Templates: time 0.008161/0.05543, allocations: 5.413 MB / 414.2 MB, free: 13.19 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1704371687956154]