Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.001299/0.001299, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001395/0.001395, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 8.215 MB / 206.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.1752/0.1752, allocations: 38.53 MB / 353.2 MB, free: 12.55 MB / 286.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.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 71.89 kB / 493.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.299, allocations: 62.47 MB / 0.5432 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.007515/0.3065, allocations: 5.376 MB / 0.5485 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003821/0.3103, allocations: 2.168 MB / 0.5506 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004883/0.3108, allocations: 18.31 kB / 0.5506 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006621/0.3115, allocations: 157.5 kB / 0.5508 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.3128, allocations: 402.8 kB / 0.5511 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006644/0.3135, allocations: 217.7 kB / 0.5513 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.3146, allocations: 0.7105 MB / 0.552 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004593/0.315, allocations: 334.8 kB / 0.5524 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005008/0.3155, allocations: 318.7 kB / 0.5527 GB, free: 9.266 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000453/0.316, allocations: 306 kB / 0.553 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.853e-05/0.3161, allocations: 48.56 kB / 0.553 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003364/0.3164, allocations: 143.3 kB / 0.5531 GB, free: 9.023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.3166, allocations: 153.3 kB / 0.5533 GB, free: 8.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002851/0.3169, allocations: 277.6 kB / 0.5535 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.3179, allocations: 0.7041 MB / 0.5542 GB, free: 8.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3179, allocations: 0 / 0.5542 GB, free: 8.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3179, allocations: 0 / 0.5542 GB, free: 8.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.3179, allocations: 0 / 0.5542 GB, free: 8.223 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001637/0.3195, allocations: 0.8018 MB / 0.555 GB, free: 7.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3196, allocations: 14.42 kB / 0.555 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.3197, allocations: 63.12 kB / 0.5551 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008083/0.3205, allocations: 428.6 kB / 0.5555 GB, free: 7.199 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.3205, allocations: 28.09 kB / 0.5555 GB, free: 7.188 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.928e-05/0.3206, allocations: 40.23 kB / 0.5556 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007483/0.3213, allocations: 453.8 kB / 0.556 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.3214, allocations: 5.219 kB / 0.556 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.3214, allocations: 16.22 kB / 0.556 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.3214, allocations: 14.02 kB / 0.556 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/0.3219, allocations: 284.1 kB / 0.5563 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002328/0.3242, allocations: 1.793 MB / 0.5581 GB, free: 5.043 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/0.3248, allocations: 243.7 kB / 0.5583 GB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.3249, allocations: 82.92 kB / 0.5584 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.3249, allocations: 7.938 kB / 0.5584 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.3253, allocations: 168.7 kB / 0.5585 GB, free: 4.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.983e-06/0.3253, allocations: 0 / 0.5585 GB, free: 4.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.001777/0.327, allocations: 0.8619 MB / 0.5594 GB, free: 3.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.592e-05/0.3271, allocations: 128.5 kB / 0.5595 GB, free: 3.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/0.3276, allocations: 425.8 kB / 0.5599 GB, free: 3.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.3277, allocations: 29.7 kB / 0.5599 GB, free: 2.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.3279, allocations: 272.1 kB / 0.5602 GB, free: 2.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.207e-05/0.328, allocations: 91.42 kB / 0.5603 GB, free: 2.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.3281, allocations: 69.64 kB / 0.5603 GB, free: 2.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.3283, allocations: 358.8 kB / 0.5607 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.3285, allocations: 83.95 kB / 0.5608 GB, free: 2.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.3287, allocations: 212.2 kB / 0.561 GB, free: 1.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004582/0.3292, allocations: 315.1 kB / 0.5613 GB, free: 1.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3292, allocations: 4 kB / 0.5613 GB, free: 1.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008742/0.3301, allocations: 433.6 kB / 0.5617 GB, free: 1.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3301, allocations: 8 kB / 0.5617 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.3301, allocations: 4 kB / 0.5617 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004454/0.3306, allocations: 97.2 kB / 0.5618 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.3308, allocations: 67.91 kB / 0.5619 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002613/0.3334, allocations: 1.914 MB / 0.5637 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/0.3337, allocations: 23.89 kB / 0.5638 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.3337, allocations: 19.98 kB / 0.5638 GB, free: 14.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000258/0.334, allocations: 197.6 kB / 0.564 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.3341, allocations: 47.78 kB / 0.564 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006258/0.3347, allocations: 298 kB / 0.5643 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3347, allocations: 4 kB / 0.5643 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3347, allocations: 0 / 0.5643 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3347, allocations: 0 / 0.5643 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.3358, allocations: 0.7489 MB / 0.565 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3359, allocations: 4 kB / 0.565 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.3361, allocations: 39.92 kB / 0.5651 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002141/0.3363, allocations: 52.8 kB / 0.5651 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.3363, allocations: 8 kB / 0.5651 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.3378, allocations: 1.448 MB / 0.5665 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3378, allocations: 0 / 0.5665 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008074/0.3386, allocations: 0.4989 MB / 0.567 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.3387, allocations: 63.67 kB / 0.5671 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.3388, allocations: 3.984 kB / 0.5671 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.339, allocations: 12 kB / 0.5671 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.3391, allocations: 27.95 kB / 0.5671 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.3391, allocations: 12 kB / 0.5671 GB, free: 11.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003659/0.3395, allocations: 295.1 kB / 0.5674 GB, free: 10.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3395, allocations: 0 / 0.5674 GB, free: 10.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005855/0.3401, allocations: 115.9 kB / 0.5675 GB, free: 10.72 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.rotor.phi,dcm_ser.rotor.w,dcm_ser.motor.i,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001577/0.3416, allocations: 458.1 kB / 0.568 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008984/0.3425, allocations: 399.1 kB / 0.5683 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3425, allocations: 0 / 0.5683 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.3429, allocations: 238.5 kB / 0.5686 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006881/0.3436, allocations: 132.1 kB / 0.5687 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.3457, allocations: 1.145 MB / 0.5698 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005207/0.3462, allocations: 0.8582 MB / 0.5707 GB, free: 7.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3463, allocations: 39.42 kB / 0.5707 GB, free: 7.547 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3463, allocations: 0 / 0.5707 GB, free: 7.547 MB / 414.1 MB Notification: Performance of Templates: time 0.01293/0.3592, allocations: 8.699 MB / 0.5792 GB, free: 14.89 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.606500331079587] Failed to read output from testmodel.py, exit status != 0: 0.36808268493041396 0.382372093 0.061237098000000004 Calling exit ...