Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.001481/0.001481, allocations: 88.33 kB / 20.95 MB, free: 3.473 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.001592/0.001592, allocations: 157.7 kB / 24.26 MB, free: 168 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.497/1.497, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3123/0.3123, allocations: 29.41 MB / 290.5 MB, free: 2.418 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.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.043e-06/2.043e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.235e-05/3.439e-05, allocations: 5.703 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.01306/0.01309, allocations: 4.693 MB / 373.6 MB, free: 6.578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004694/0.01778, allocations: 1.398 MB / 375 MB, free: 5.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004768/0.01826, allocations: 23.81 kB / 375 MB, free: 5.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007348/0.019, allocations: 107.2 kB / 375.1 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.02045, allocations: 274.1 kB / 375.4 MB, free: 4.777 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006851/0.02113, allocations: 143.6 kB / 375.5 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001519/0.02265, allocations: 0.5991 MB / 376.1 MB, free: 4.035 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007603/0.02341, allocations: 303.3 kB / 376.4 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009434/0.02436, allocations: 347.1 kB / 376.7 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006967/0.02505, allocations: 199.4 kB / 376.9 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.02517, allocations: 40 kB / 377 MB, free: 3.164 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001462/0.02532, allocations: 40 kB / 377 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.02559, allocations: 135.5 kB / 377.1 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003801/0.02597, allocations: 147.7 kB / 377.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.02708, allocations: 0.5023 MB / 377.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.02709, allocations: 0 / 377.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02709, allocations: 0 / 377.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.0271, allocations: 0 / 377.8 MB, free: 2.344 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002232/0.02933, allocations: 0.6468 MB / 378.4 MB, free: 1.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.02938, allocations: 11.98 kB / 378.4 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002684/0.02965, allocations: 76.66 kB / 378.5 MB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.03091, allocations: 371.9 kB / 378.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/0.0311, allocations: 80.97 kB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.03124, allocations: 44.08 kB / 379 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.03263, allocations: 436.3 kB / 379.4 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.03266, allocations: 0 / 379.4 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.849e-05/0.03272, allocations: 16 kB / 379.5 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/0.03275, allocations: 12 kB / 379.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.03383, allocations: 266.3 kB / 379.7 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004421/0.03826, allocations: 1.654 MB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006908/0.03895, allocations: 170.7 kB / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.03927, allocations: 66.67 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.0393, allocations: 4 kB / 381.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.359e-05/0.03936, allocations: 42.5 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 2.224e-06/0.03937, allocations: 0 / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.002575/0.04194, allocations: 0.6478 MB / 382.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.04207, allocations: 110.8 kB / 382.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006379/0.04271, allocations: 292.4 kB / 382.7 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.04276, allocations: 29.7 kB / 382.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/0.04312, allocations: 248.1 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.04327, allocations: 71.38 kB / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.04343, allocations: 66.02 kB / 383.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002604/0.04369, allocations: 342.8 kB / 383.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.04394, allocations: 76.86 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.04428, allocations: 205.4 kB / 383.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.04482, allocations: 291.4 kB / 384 MB, free: 11.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.04482, allocations: 0 / 384 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007283/0.04555, allocations: 340.9 kB / 384.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.04557, allocations: 8 kB / 384.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.04558, allocations: 4 kB / 384.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.04561, allocations: 4.562 kB / 384.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.04593, allocations: 79.89 kB / 384.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.04595, allocations: 15.88 kB / 384.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.04615, allocations: 12 kB / 384.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.04618, allocations: 16 kB / 384.5 MB, free: 11.21 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.04641, allocations: 177.7 kB / 384.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-05/0.0465, allocations: 39.81 kB / 384.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004666/0.04697, allocations: 194.6 kB / 384.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.04698, allocations: 4 kB / 384.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.04698, allocations: 7.938 kB / 384.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.04699, allocations: 0 / 384.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009915/0.04798, allocations: 0.5104 MB / 385.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.04799, allocations: 8 kB / 385.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.04826, allocations: 43.97 kB / 385.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.04826, allocations: 0 / 385.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.04829, allocations: 11.94 kB / 385.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.0483, allocations: 3.938 kB / 385.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.0483, allocations: 0 / 385.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007287/0.04903, allocations: 451.4 kB / 385.9 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.04908, allocations: 27.95 kB / 385.9 MB, free: 9.672 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.04913, allocations: 11.92 kB / 385.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.04933, allocations: 7.984 kB / 385.9 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.0494, allocations: 19.91 kB / 386 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.04942, allocations: 8 kB / 386 MB, free: 9.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002472/0.04967, allocations: 195.1 kB / 386.2 MB, free: 9.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04967, allocations: 0 / 386.2 MB, free: 9.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004678/0.05014, allocations: 72 kB / 386.2 MB, free: 9.367 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.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 (20): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001449/0.05028, allocations: 107.2 kB / 386.3 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.05076, allocations: 183.7 kB / 386.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.05076, allocations: 1.125 kB / 386.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.05097, allocations: 72.03 kB / 386.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000681/0.05165, allocations: 94.27 kB / 386.7 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.05336, allocations: 0.7724 MB / 387.5 MB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.05363, allocations: 218.5 kB / 387.7 MB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001905/0.05383, allocations: 46.88 kB / 387.7 MB, free: 7.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-05/0.05391, allocations: 28.5 kB / 387.7 MB, free: 7.801 MB / 362.7 MB Notification: Performance of SimCode: time 7.81e-07/0.05391, allocations: 4 kB / 387.7 MB, free: 7.797 MB / 362.7 MB Notification: Performance of Templates: time 0.008414/0.06232, allocations: 2.97 MB / 390.7 MB, free: 4.898 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.709424697095528]