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.001354/0.001354, allocations: 73.41 kB / 21.24 MB, free: 0.5547 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.00147/0.00147, allocations: 161.2 kB / 24.5 MB, free: 3.715 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.513/1.513, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.181/0.181, allocations: 29.42 MB / 290.7 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.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.002034/0.002034, allocations: 68.12 kB / 431.2 MB, free: 3.242 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4093, allocations: 62.44 MB / 493.6 MB, free: 37.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.005601/0.4149, allocations: 5.049 MB / 498.7 MB, free: 34.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.4177, allocations: 1.993 MB / 0.4889 GB, free: 33.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004352/0.4182, allocations: 17.47 kB / 0.489 GB, free: 33.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005217/0.4187, allocations: 148.1 kB / 0.4891 GB, free: 33.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000975/0.4197, allocations: 404.8 kB / 0.4895 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.4201, allocations: 222.8 kB / 0.4897 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00071/0.4208, allocations: 0.7131 MB / 0.4904 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003336/0.4212, allocations: 325.8 kB / 0.4907 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003839/0.4216, allocations: 316.8 kB / 0.491 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.4219, allocations: 274.9 kB / 0.4913 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.554e-05/0.422, allocations: 49.38 kB / 0.4913 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.4222, allocations: 144.9 kB / 0.4914 GB, free: 31.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.4224, allocations: 152.8 kB / 0.4916 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.4225, allocations: 224.4 kB / 0.4918 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006634/0.4232, allocations: 0.7093 MB / 0.4925 GB, free: 31.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.4232, allocations: 0 / 0.4925 GB, free: 31.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4232, allocations: 3.188 kB / 0.4925 GB, free: 31.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4232, allocations: 0 / 0.4925 GB, free: 31.41 MB / 446.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.001236/0.4245, allocations: 0.8024 MB / 0.4933 GB, free: 30.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.687e-05/0.4245, allocations: 13.64 kB / 0.4933 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.06e-05/0.4246, allocations: 61.5 kB / 0.4934 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006323/0.4252, allocations: 424.3 kB / 0.4938 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4252, allocations: 28.41 kB / 0.4938 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/0.4253, allocations: 44.55 kB / 0.4938 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.4258, allocations: 488 kB / 0.4943 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.4258, allocations: 0 / 0.4943 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.4259, allocations: 22.34 kB / 0.4943 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4259, allocations: 9.344 kB / 0.4943 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003888/0.4263, allocations: 274 kB / 0.4946 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.4277, allocations: 1.646 MB / 0.4962 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.4281, allocations: 244 kB / 0.4964 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.4282, allocations: 81.7 kB / 0.4965 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.4282, allocations: 3.531 kB / 0.4965 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.4284, allocations: 173.2 kB / 0.4967 GB, free: 28.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.4284, allocations: 0 / 0.4967 GB, free: 28.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.001385/0.4298, allocations: 0.8579 MB / 0.4975 GB, free: 27.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.4299, allocations: 135.7 kB / 0.4976 GB, free: 27.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.4302, allocations: 398.8 kB / 0.498 GB, free: 27.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.4303, allocations: 29.7 kB / 0.4981 GB, free: 27.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.4304, allocations: 270.3 kB / 0.4983 GB, free: 27.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.4304, allocations: 102.6 kB / 0.4984 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.412e-05/0.4305, allocations: 71.91 kB / 0.4985 GB, free: 27.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.706e-05/0.4306, allocations: 350.2 kB / 0.4988 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.4307, allocations: 81.11 kB / 0.4989 GB, free: 26.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.4309, allocations: 246.6 kB / 0.4991 GB, free: 26.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.4312, allocations: 316.9 kB / 0.4994 GB, free: 26.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4312, allocations: 6.734 kB / 0.4994 GB, free: 26.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006944/0.4319, allocations: 428.2 kB / 0.4998 GB, free: 26.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4319, allocations: 6.188 kB / 0.4998 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4319, allocations: 7.125 kB / 0.4999 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000386/0.4323, allocations: 89.36 kB / 0.4999 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.4325, allocations: 74.44 kB / 0.5 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.4344, allocations: 1.868 MB / 0.5018 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.4347, allocations: 20.16 kB / 0.5019 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.4347, allocations: 20.31 kB / 0.5019 GB, free: 24.54 MB / 446.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.0001886/0.4349, allocations: 196.4 kB / 0.5021 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.435, allocations: 42.94 kB / 0.5021 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005017/0.4355, allocations: 301 kB / 0.5024 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4355, allocations: 3.219 kB / 0.5024 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.4355, allocations: 3.938 kB / 0.5024 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4355, allocations: 3.031 kB / 0.5024 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008208/0.4363, allocations: 0.6537 MB / 0.503 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4363, allocations: 4 kB / 0.503 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.4365, allocations: 40.81 kB / 0.5031 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001822/0.4367, allocations: 56.02 kB / 0.5031 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.4367, allocations: 7.422 kB / 0.5031 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008658/0.4376, allocations: 1.409 MB / 0.5045 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4376, allocations: 3.938 kB / 0.5045 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.4382, allocations: 0.4932 MB / 0.505 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.4383, allocations: 59.31 kB / 0.5051 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.4384, allocations: 7.375 kB / 0.5051 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.4386, allocations: 17.11 kB / 0.5051 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.4386, allocations: 23.64 kB / 0.5051 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.4387, allocations: 6.734 kB / 0.5051 GB, free: 22.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.4389, allocations: 274.4 kB / 0.5054 GB, free: 21.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4389, allocations: 0 / 0.5054 GB, free: 21.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005394/0.4394, allocations: 120 kB / 0.5055 GB, free: 21.93 MB / 446.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.001559/0.441, allocations: 499.4 kB / 0.506 GB, free: 21.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008118/0.4418, allocations: 397.5 kB / 0.5063 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4418, allocations: 0 / 0.5063 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.4421, allocations: 238.3 kB / 0.5066 GB, free: 21.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.4428, allocations: 122.5 kB / 0.5067 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.4443, allocations: 1.099 MB / 0.5078 GB, free: 20.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.4445, allocations: 249.5 kB / 0.508 GB, free: 20.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002003/0.4447, allocations: 65.94 kB / 0.5081 GB, free: 20.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.4448, allocations: 40.42 kB / 0.5081 GB, free: 20.49 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4448, allocations: 0 / 0.5081 GB, free: 20.49 MB / 446.1 MB Notification: Performance of Templates: time 0.01161/0.4564, allocations: 6.37 MB / 0.5143 GB, free: 19.72 MB / 446.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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.46573352208361] Failed to read output from testmodel.py, exit status != 0: 0.46500959096010774 0.477945402 0.051900005000000006 Calling exit ...