Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.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.001456/0.001456, allocations: 84.55 kB / 20.68 MB, free: 1.012 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.002163/0.002163, allocations: 167.6 kB / 23.96 MB, free: 4.125 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.547/1.547, allocations: 177.1 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.179/0.179, allocations: 29.44 MB / 290.1 MB, free: 3.273 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_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/3.009e-05, allocations: 2.281 kB / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.007093/0.007123, allocations: 5.083 MB / 435.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.009639, allocations: 1.499 MB / 437.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.009846, allocations: 27.75 kB / 437.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.01024, allocations: 127 kB / 437.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007372/0.01098, allocations: 317.8 kB / 437.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.01134, allocations: 155.7 kB / 437.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009387/0.01228, allocations: 0.7235 MB / 438.6 MB, free: 9.969 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004738/0.01275, allocations: 332.2 kB / 439 MB, free: 9.641 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000561/0.01331, allocations: 414.9 kB / 439.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004442/0.01376, allocations: 243.3 kB / 439.6 MB, free: 8.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.24e-05/0.01384, allocations: 44 kB / 439.6 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.01394, allocations: 48 kB / 439.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.01412, allocations: 163.5 kB / 439.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000243/0.01437, allocations: 183.6 kB / 440 MB, free: 8.566 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007267/0.01509, allocations: 0.5997 MB / 440.6 MB, free: 7.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.0151, allocations: 0 / 440.6 MB, free: 7.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.0151, allocations: 0 / 440.6 MB, free: 7.965 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.0151, allocations: 3.938 kB / 440.6 MB, free: 7.961 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001344/0.01645, allocations: 0.7168 MB / 441.4 MB, free: 7.215 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.01649, allocations: 11.98 kB / 441.4 MB, free: 7.203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.0166, allocations: 56.61 kB / 441.4 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007624/0.01736, allocations: 400.8 kB / 441.8 MB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.01748, allocations: 88.97 kB / 441.9 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/0.01757, allocations: 52.06 kB / 441.9 MB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008825/0.01845, allocations: 0.5009 MB / 442.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.01847, allocations: 3.938 kB / 442.5 MB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.01852, allocations: 20 kB / 442.5 MB, free: 6.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.01853, allocations: 12 kB / 442.5 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007093/0.01924, allocations: 339.7 kB / 442.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/0.02161, allocations: 1.733 MB / 444.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004781/0.02209, allocations: 207.6 kB / 444.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.0223, allocations: 90.66 kB / 444.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.02232, allocations: 4 kB / 444.8 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.02236, allocations: 34.56 kB / 444.9 MB, free: 3.477 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.02236, allocations: 0 / 444.9 MB, free: 3.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001753/0.02411, allocations: 0.7758 MB / 445.7 MB, free: 2.664 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.02419, allocations: 110.8 kB / 445.8 MB, free: 2.531 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.02453, allocations: 308.4 kB / 446.1 MB, free: 2.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.02455, allocations: 29.7 kB / 446.1 MB, free: 2.184 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.02476, allocations: 284.1 kB / 446.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.257e-05/0.02483, allocations: 75.38 kB / 446.4 MB, free: 1.828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.02494, allocations: 69.91 kB / 446.5 MB, free: 1.754 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.0251, allocations: 338.8 kB / 446.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.02533, allocations: 87.94 kB / 446.9 MB, free: 1.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003187/0.02565, allocations: 216.8 kB / 447.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.02692, allocations: 483.8 kB / 447.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.02692, allocations: 0 / 447.6 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000942/0.02786, allocations: 421.1 kB / 448 MB, free: 108 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.02788, allocations: 11.98 kB / 448 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.02789, allocations: 4 kB / 448 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/0.02823, allocations: 84.77 kB / 448.1 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2586/0.2868, allocations: 61.81 kB / 448.2 MB, free: 29.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.2886, allocations: 1.786 MB / 450 MB, free: 28.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.2888, allocations: 16.2 kB / 450 MB, free: 28.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.2888, allocations: 19.05 kB / 450 MB, free: 28.53 MB / 366.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.dcm_pm.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (35): * Single equations (assignments): 34 * 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 {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002232/0.2891, allocations: 193.8 kB / 450.2 MB, free: 28.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/0.2891, allocations: 35 kB / 450.2 MB, free: 28.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.941e-05/0.2892, allocations: 40.58 kB / 450.3 MB, free: 28.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2892, allocations: 2.844 kB / 450.3 MB, free: 28.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2892, allocations: 8.344 kB / 450.3 MB, free: 28.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2892, allocations: 1.453 kB / 450.3 MB, free: 28.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.2903, allocations: 0.6158 MB / 450.9 MB, free: 27.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2903, allocations: 1.125 kB / 450.9 MB, free: 27.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.2905, allocations: 43.61 kB / 450.9 MB, free: 27.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.505e-05/0.2906, allocations: 24.06 kB / 451 MB, free: 27.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.2907, allocations: 9.406 kB / 451 MB, free: 27.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006256/0.2913, allocations: 1.252 MB / 452.2 MB, free: 26.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2913, allocations: 1.219 kB / 452.2 MB, free: 26.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006948/0.292, allocations: 0.4971 MB / 452.7 MB, free: 26.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.2921, allocations: 43.52 kB / 452.8 MB, free: 26.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.2921, allocations: 7.109 kB / 452.8 MB, free: 26.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.2923, allocations: 10.36 kB / 452.8 MB, free: 26.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.2924, allocations: 20.31 kB / 452.8 MB, free: 26.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.2924, allocations: 5.188 kB / 452.8 MB, free: 26.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001854/0.2926, allocations: 211.6 kB / 453 MB, free: 26.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2926, allocations: 0 / 453 MB, free: 26.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005261/0.2931, allocations: 84.91 kB / 453.1 MB, free: 26.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (dcm_pm.motor.i,loadInertia.w,frictTorq.phi) * 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 (21): * Single equations (assignments): 19 * 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,1,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.2932, allocations: 104.8 kB / 453.2 MB, free: 26.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00072/0.2939, allocations: 364.3 kB / 453.6 MB, free: 25.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2939, allocations: 1.438 kB / 453.6 MB, free: 25.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.2942, allocations: 214.9 kB / 453.8 MB, free: 25.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.2949, allocations: 98.2 kB / 453.9 MB, free: 25.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.2964, allocations: 0.8412 MB / 454.7 MB, free: 25.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.2967, allocations: 242.6 kB / 454.9 MB, free: 25.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.2968, allocations: 40.89 kB / 455 MB, free: 25.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.565e-05/0.2969, allocations: 28.36 kB / 455 MB, free: 25.24 MB / 366.1 MB Notification: Performance of SimCode: time 4.6e-07/0.2969, allocations: 4 kB / 455 MB, free: 25.23 MB / 366.1 MB Notification: Performance of Templates: time 0.0103/0.3072, allocations: 4.014 MB / 459 MB, free: 24.79 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.017896741628647] Failed to read output from testmodel.py, exit status != 0: 0.3162340931594372 0.33040898899999993 0.31231425999999995 Calling exit ...