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.001793/0.001793, allocations: 85.83 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002285/0.002285, allocations: 165.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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.573/1.573, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.1 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.1722/0.1722, allocations: 29.43 MB / 290.1 MB, free: 3.285 MB / 270.1 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 2.264e-06/2.264e-06, allocations: 0 / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.131e-05/3.357e-05, allocations: 6.219 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007509/0.007543, allocations: 5.051 MB / 435.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006533/0.01408, allocations: 3.648 MB / 439.4 MB, free: 9.195 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003917/0.01447, allocations: 23.81 kB / 439.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01179/0.02626, allocations: 5.359 MB / 444.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.02743, allocations: 337.9 kB / 445.1 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006239/0.02806, allocations: 227.6 kB / 445.4 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002643/0.0307, allocations: 1.656 MB / 447 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008613/0.03156, allocations: 0.5145 MB / 447.5 MB, free: 1.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007473/0.03231, allocations: 0.5026 MB / 448 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006305/0.03294, allocations: 390.9 kB / 448.4 MB, free: 192 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.448e-05/0.03303, allocations: 56 kB / 448.5 MB, free: 136 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.03323, allocations: 71.92 kB / 448.5 MB, free: 64 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2277/0.2609, allocations: 269.4 kB / 448.8 MB, free: 21.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.2613, allocations: 216 kB / 449 MB, free: 21.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009634/0.2622, allocations: 0.8133 MB / 449.8 MB, free: 21.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.2622, allocations: 0 / 449.8 MB, free: 21.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2622, allocations: 0 / 449.8 MB, free: 21.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.2623, allocations: 0 / 449.8 MB, free: 21.26 MB / 366.1 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.001379/0.2636, allocations: 0.8081 MB / 450.6 MB, free: 20.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2637, allocations: 13.14 kB / 450.6 MB, free: 20.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.264, allocations: 73.23 kB / 450.7 MB, free: 20.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009151/0.2649, allocations: 499.7 kB / 451.2 MB, free: 20.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.2649, allocations: 38.05 kB / 451.2 MB, free: 20.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.106e-05/0.265, allocations: 49.12 kB / 451.3 MB, free: 20.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008966/0.2659, allocations: 0.6374 MB / 451.9 MB, free: 20.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.2659, allocations: 5.156 kB / 451.9 MB, free: 20.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.266, allocations: 20.66 kB / 451.9 MB, free: 20.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/0.2661, allocations: 48.94 kB / 452 MB, free: 20.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007114/0.2668, allocations: 462.2 kB / 452.4 MB, free: 20.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.2692, allocations: 2.23 MB / 454.7 MB, free: 19.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.2697, allocations: 257 kB / 454.9 MB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.2699, allocations: 130.7 kB / 455.1 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.2699, allocations: 7.078 kB / 455.1 MB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.2699, allocations: 38.62 kB / 455.1 MB, free: 19.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.884e-06/0.2699, allocations: 4.594 kB / 455.1 MB, free: 19.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.00266/0.2726, allocations: 1.244 MB / 456.3 MB, free: 18.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.2726, allocations: 81.89 kB / 456.4 MB, free: 18.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.273, allocations: 382.6 kB / 456.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.273, allocations: 32.3 kB / 456.8 MB, free: 18.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.2731, allocations: 307.4 kB / 457.1 MB, free: 18.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.003e-05/0.2732, allocations: 120.4 kB / 457.3 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.2733, allocations: 82.77 kB / 457.3 MB, free: 18.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.2734, allocations: 356.9 kB / 457.7 MB, free: 17.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.2737, allocations: 130.1 kB / 457.8 MB, free: 17.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.274, allocations: 278.8 kB / 458.1 MB, free: 17.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.2745, allocations: 454.1 kB / 458.5 MB, free: 17.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.2745, allocations: 5.375 kB / 458.5 MB, free: 17.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001078/0.2756, allocations: 0.5899 MB / 459.1 MB, free: 17.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2756, allocations: 7.688 kB / 459.1 MB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2756, allocations: 4.906 kB / 459.1 MB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004562/0.276, allocations: 148.1 kB / 459.3 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.2763, allocations: 74.11 kB / 459.3 MB, free: 17.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002732/0.2791, allocations: 3.404 MB / 462.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.2794, allocations: 16.05 kB / 462.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.2794, allocations: 20.44 kB / 462.8 MB, free: 14.28 MB / 366.1 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.0003031/0.2797, allocations: 236.2 kB / 463 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.2798, allocations: 44.58 kB / 463.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009729/0.2807, allocations: 0.4975 MB / 463.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.2808, allocations: 4.234 kB / 463.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0008379/0.2816, allocations: 410 kB / 464 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.2816, allocations: 2.562 kB / 464 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.2831, allocations: 0.855 MB / 464.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2831, allocations: 1.25 kB / 464.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.2833, allocations: 48.22 kB / 464.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002941/0.2836, allocations: 96.47 kB / 465 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.2836, allocations: 7.656 kB / 465 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001729/0.2854, allocations: 1.873 MB / 466.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2854, allocations: 1.281 kB / 466.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009258/0.2863, allocations: 0.6523 MB / 467.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.2864, allocations: 56.03 kB / 467.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.2865, allocations: 11.05 kB / 467.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.2867, allocations: 8.5 kB / 467.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.2867, allocations: 29.94 kB / 467.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.2868, allocations: 12.8 kB / 467.6 MB, free: 11.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003086/0.2871, allocations: 278.2 kB / 467.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2871, allocations: 0 / 467.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007292/0.2878, allocations: 123.1 kB / 468 MB, free: 11.09 MB / 366.1 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.0001287/0.2879, allocations: 104.1 kB / 468.1 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001068/0.289, allocations: 0.5861 MB / 468.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.289, allocations: 4.344 kB / 468.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004581/0.2895, allocations: 283.9 kB / 469 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006564/0.2901, allocations: 98.27 kB / 469.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.2919, allocations: 1.065 MB / 470.1 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.2923, allocations: 317.6 kB / 470.4 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.2925, allocations: 73.73 kB / 470.5 MB, free: 9.727 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.2926, allocations: 37.17 kB / 470.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2926, allocations: 0 / 470.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of Templates: time 0.01079/0.3034, allocations: 5.183 MB / 475.7 MB, free: 8.754 MB / 366.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.094067446887493] Failed to read output from testmodel.py, exit status != 0: 0.31216029077768326 0.321929946 0.056447235000000005 Calling exit ...