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.0009524/0.0009524, allocations: 80.41 kB / 22.21 MB, free: 2.293 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.001024/0.001024, allocations: 167.1 kB / 25.61 MB, free: 8.551 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.9096/0.9096, allocations: 177.1 MB / 206 MB, free: 4.531 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.1139/0.1139, allocations: 29.4 MB / 292 MB, free: 2.672 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.253e-06/1.253e-06, allocations: 0 / 370.9 MB, free: 32.35 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.262e-05, allocations: 3.188 kB / 370.9 MB, free: 32.35 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005119/0.005141, allocations: 5.14 MB / 376 MB, free: 27.19 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004635/0.009776, allocations: 3.778 MB / 379.8 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004233/0.0102, allocations: 23.81 kB / 379.8 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007443/0.01764, allocations: 5.38 MB / 385.2 MB, free: 17.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007591/0.0184, allocations: 338 kB / 385.5 MB, free: 17.65 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.01878, allocations: 227.5 kB / 385.7 MB, free: 17.43 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.01995, allocations: 1.68 MB / 387.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004557/0.02041, allocations: 0.538 MB / 388 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003754/0.02079, allocations: 0.5105 MB / 388.5 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.02113, allocations: 382.9 kB / 388.9 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.02118, allocations: 60 kB / 388.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.0213, allocations: 71.92 kB / 389 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.02143, allocations: 279.2 kB / 389.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.02156, allocations: 211.6 kB / 389.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004797/0.02204, allocations: 0.5021 MB / 390 MB, free: 13.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.02205, allocations: 0 / 390 MB, free: 13.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.02205, allocations: 0 / 390 MB, free: 13.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.02205, allocations: 0 / 390 MB, free: 13.2 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00079/0.02284, allocations: 0.9139 MB / 390.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.02288, allocations: 8.031 kB / 390.9 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.02311, allocations: 104.5 kB / 391 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.02358, allocations: 0.4979 MB / 391.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.0236, allocations: 33.31 kB / 391.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.02365, allocations: 55.92 kB / 391.6 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.02398, allocations: 417.1 kB / 392 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.024, allocations: 0 / 392 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.02402, allocations: 27.97 kB / 392 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.739e-05/0.02409, allocations: 52.97 kB / 392.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.02428, allocations: 154.7 kB / 392.2 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.02557, allocations: 2.43 MB / 394.6 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.02574, allocations: 171.1 kB / 394.8 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.0258, allocations: 67.34 kB / 394.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.02581, allocations: 4 kB / 394.9 MB, free: 8.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.02583, allocations: 41.39 kB / 394.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.02583, allocations: 0 / 394.9 MB, free: 7.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001202/0.02703, allocations: 0.7511 MB / 395.7 MB, free: 7.172 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.02706, allocations: 81.11 kB / 395.7 MB, free: 7.074 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.02726, allocations: 410.5 kB / 396.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.02728, allocations: 33.7 kB / 396.2 MB, free: 6.617 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.0274, allocations: 366.7 kB / 396.5 MB, free: 6.254 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.02746, allocations: 119 kB / 396.7 MB, free: 6.137 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/0.02753, allocations: 95.7 kB / 396.7 MB, free: 6.035 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.02759, allocations: 0.5351 MB / 397.3 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.943e-05/0.02764, allocations: 44.95 kB / 397.3 MB, free: 5.445 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.77e-05/0.02774, allocations: 250.3 kB / 397.6 MB, free: 5.117 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.02793, allocations: 329.1 kB / 397.9 MB, free: 4.707 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.02793, allocations: 0 / 397.9 MB, free: 4.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004035/0.02833, allocations: 424.4 kB / 398.3 MB, free: 4.277 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.02835, allocations: 7.938 kB / 398.3 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.02836, allocations: 8 kB / 398.3 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/0.02858, allocations: 127.6 kB / 398.4 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.02873, allocations: 71.91 kB / 398.5 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.02999, allocations: 3.755 MB / 402.3 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.03011, allocations: 12 kB / 402.3 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.03013, allocations: 24.02 kB / 402.3 MB, free: 32 kB / 314.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.000167/0.0303, allocations: 184.4 kB / 402.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/0.03035, allocations: 59.66 kB / 402.5 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/0.03077, allocations: 309.3 kB / 402.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.03078, allocations: 8 kB / 402.9 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002996/0.03108, allocations: 261.4 kB / 403.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.03108, allocations: 3.938 kB / 403.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00081/0.03189, allocations: 0.6785 MB / 403.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.0319, allocations: 0 / 403.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.032, allocations: 35.98 kB / 403.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001593/0.03216, allocations: 71.56 kB / 403.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.03217, allocations: 20.08 kB / 403.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009897/0.03316, allocations: 1.971 MB / 405.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.03317, allocations: 0 / 405.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.03358, allocations: 477.2 kB / 406.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.03365, allocations: 59.64 kB / 406.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.03368, allocations: 11.98 kB / 406.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/0.03377, allocations: 0 / 406.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/0.03407, allocations: 27.95 kB / 406.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.03408, allocations: 8 kB / 406.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.03422, allocations: 251 kB / 406.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03422, allocations: 8 kB / 406.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003569/0.03457, allocations: 120 kB / 406.8 MB, free: 11.26 MB / 330.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.0001004/0.03468, allocations: 111.2 kB / 406.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005173/0.03519, allocations: 0.5778 MB / 407.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.0352, allocations: 0 / 407.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002194/0.03541, allocations: 310.7 kB / 407.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.03581, allocations: 107.2 kB / 407.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.03728, allocations: 0.9956 MB / 408.9 MB, free: 9.055 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.0374, allocations: 180.9 kB / 409.1 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.03753, allocations: 55.39 kB / 409.2 MB, free: 8.801 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.03766, allocations: 142.2 kB / 409.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of SimCode: time 9.01e-07/0.03767, allocations: 0 / 409.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of Templates: time 0.008211/0.04588, allocations: 5.646 MB / 414.9 MB, free: 3.121 MB / 330.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: 2.882809280883521]