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.00165/0.00165, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002193/0.002193, allocations: 165.7 kB / 24.27 MB, free: 148 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.476/1.476, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.2877/0.2877, allocations: 29.41 MB / 290.5 MB, free: 2.426 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.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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/2.949e-05, allocations: 9.406 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.008702/0.008731, allocations: 5.051 MB / 373.9 MB, free: 6.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004018/0.01275, allocations: 1.994 MB / 375.9 MB, free: 4.234 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003278/0.01308, allocations: 19.81 kB / 375.9 MB, free: 4.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006007/0.01368, allocations: 146.8 kB / 376.1 MB, free: 4.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.01481, allocations: 417.3 kB / 376.5 MB, free: 3.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006249/0.01544, allocations: 223.4 kB / 376.7 MB, free: 3.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.01656, allocations: 0.7237 MB / 377.4 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005159/0.01707, allocations: 340 kB / 377.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007095/0.01778, allocations: 430.8 kB / 378.2 MB, free: 1.961 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.01822, allocations: 243.3 kB / 378.4 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.417e-05/0.01831, allocations: 52 kB / 378.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003005/0.01861, allocations: 135.9 kB / 378.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.0188, allocations: 159.5 kB / 378.8 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.01905, allocations: 183.5 kB / 378.9 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.02013, allocations: 0.7125 MB / 379.7 MB, free: 500 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.02013, allocations: 0 / 379.7 MB, free: 500 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.02013, allocations: 0 / 379.7 MB, free: 500 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.02014, allocations: 0 / 379.7 MB, free: 500 kB / 346.7 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.001807/0.02195, allocations: 0.7941 MB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.02199, allocations: 11.98 kB / 380.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.02218, allocations: 88.56 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.02322, allocations: 443.2 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.02326, allocations: 33.12 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.062e-05/0.02335, allocations: 47.98 kB / 381.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008608/0.02421, allocations: 490.3 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.02423, allocations: 0 / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.02428, allocations: 16 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.02429, allocations: 8 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005213/0.02481, allocations: 274.3 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.02722, allocations: 1.662 MB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005637/0.02779, allocations: 239.7 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.02794, allocations: 78.61 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.02798, allocations: 4 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003223/0.0283, allocations: 185.1 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.0283, allocations: 0 / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001975/0.03028, allocations: 0.8583 MB / 384.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.0304, allocations: 136.5 kB / 385 MB, free: 10.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/0.03093, allocations: 405.4 kB / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.03097, allocations: 29.7 kB / 385.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.03121, allocations: 276.1 kB / 385.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.03132, allocations: 95.17 kB / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.03144, allocations: 65.69 kB / 385.8 MB, free: 9.973 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002139/0.03166, allocations: 350.8 kB / 386.2 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.03185, allocations: 83.95 kB / 386.3 MB, free: 9.539 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.03217, allocations: 245.9 kB / 386.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.03266, allocations: 307.2 kB / 386.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.03267, allocations: 0 / 386.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009865/0.03365, allocations: 449.6 kB / 387.2 MB, free: 8.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.03367, allocations: 8 kB / 387.2 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.03368, allocations: 4 kB / 387.2 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.03428, allocations: 109.2 kB / 387.4 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.03454, allocations: 67.91 kB / 387.4 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002919/0.03746, allocations: 1.892 MB / 389.3 MB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.03778, allocations: 23.94 kB / 389.3 MB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.03782, allocations: 16 kB / 389.3 MB, free: 6.215 MB / 362.7 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.000297/0.03811, allocations: 189.8 kB / 389.5 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.03823, allocations: 55.7 kB / 389.6 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007054/0.03893, allocations: 294.1 kB / 389.9 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.03894, allocations: 4 kB / 389.9 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.03894, allocations: 4 kB / 389.9 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.03895, allocations: 0 / 389.9 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.04016, allocations: 0.6514 MB / 390.5 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.04017, allocations: 7.938 kB / 390.5 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.04042, allocations: 43.91 kB / 390.6 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002498/0.04067, allocations: 52.75 kB / 390.6 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.0407, allocations: 11.98 kB / 390.6 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00159/0.04229, allocations: 1.417 MB / 392.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.04229, allocations: 3.984 kB / 392.1 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008971/0.04319, allocations: 0.5036 MB / 392.6 MB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.04333, allocations: 55.73 kB / 392.6 MB, free: 2.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.753e-05/0.04337, allocations: 4 kB / 392.6 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.04362, allocations: 27.98 kB / 392.7 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.0437, allocations: 23.95 kB / 392.7 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.04373, allocations: 12 kB / 392.7 MB, free: 2.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004039/0.04413, allocations: 271.2 kB / 393 MB, free: 2.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04413, allocations: 0 / 393 MB, free: 2.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006358/0.04477, allocations: 119.9 kB / 393.1 MB, free: 2.293 MB / 362.7 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.002085/0.04685, allocations: 490 kB / 393.6 MB, free: 2.004 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.04788, allocations: 399.1 kB / 393.9 MB, free: 1.602 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.04788, allocations: 0 / 393.9 MB, free: 1.602 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004679/0.04835, allocations: 247.2 kB / 394.2 MB, free: 1.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/0.04911, allocations: 123.5 kB / 394.3 MB, free: 1.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.05129, allocations: 0.9984 MB / 395.3 MB, free: 196 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.05161, allocations: 255.9 kB / 395.6 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002214/0.05184, allocations: 59.23 kB / 395.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.05194, allocations: 40.48 kB / 395.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.05194, allocations: 0 / 395.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of Templates: time 0.01463/0.06657, allocations: 6.387 MB / 402 MB, free: 9.547 MB / 378.7 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: 4.793768546078354]