Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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.0009622/0.0009622, allocations: 80.2 kB / 20.7 MB, free: 3.801 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.001003/0.001003, allocations: 173 kB / 24.1 MB, free: 412 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.057/1.057, allocations: 177.1 MB / 204.5 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02524/0.02524, allocations: 4.479 MB / 265.5 MB, free: 8.379 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 336.9 MB, free: 13 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.569e-05, allocations: 6.25 kB / 336.9 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.005369/0.005385, allocations: 1.661 MB / 338.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.006982, allocations: 1.497 MB / 340.1 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.71e-05/0.007079, allocations: 4 kB / 340.1 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003385/0.007417, allocations: 131.1 kB / 340.2 MB, free: 9.688 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.007635, allocations: 95.31 kB / 340.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004184/0.01182, allocations: 0.8439 MB / 341.2 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.0121, allocations: 238.7 kB / 341.4 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.01226, allocations: 72.34 kB / 341.5 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.01238, allocations: 139.7 kB / 341.6 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.01253, allocations: 103.8 kB / 341.7 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.01256, allocations: 20 kB / 341.7 MB, free: 8.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000338/0.0129, allocations: 215.6 kB / 341.9 MB, free: 7.969 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.544e-05/0.01294, allocations: 55.75 kB / 342 MB, free: 7.914 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.149e-05/0.013, allocations: 75.83 kB / 342.1 MB, free: 7.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.0134, allocations: 382.6 kB / 342.4 MB, free: 7.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.01341, allocations: 0 / 342.4 MB, free: 7.465 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01341, allocations: 0 / 342.4 MB, free: 7.465 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.01341, allocations: 0 / 342.4 MB, free: 7.465 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.004545/0.01795, allocations: 0.804 MB / 343.2 MB, free: 6.617 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.01799, allocations: 12.03 kB / 343.2 MB, free: 6.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.307e-05/0.01806, allocations: 40.8 kB / 343.3 MB, free: 6.566 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.01822, allocations: 180.3 kB / 343.5 MB, free: 6.363 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.01824, allocations: 20.88 kB / 343.5 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.01827, allocations: 32.31 kB / 343.5 MB, free: 6.312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.0185, allocations: 164.6 kB / 343.7 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.01851, allocations: 8.109 kB / 343.7 MB, free: 6.137 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.01853, allocations: 8.375 kB / 343.7 MB, free: 6.129 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.01854, allocations: 12.36 kB / 343.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.0187, allocations: 107.3 kB / 343.8 MB, free: 6.016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008864/0.01959, allocations: 0.7126 MB / 344.5 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.01987, allocations: 179.9 kB / 344.7 MB, free: 5.086 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.923e-05/0.01995, allocations: 68.23 kB / 344.8 MB, free: 5.016 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003088/0.02303, allocations: 12 kB / 344.8 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.02305, allocations: 37.39 kB / 344.8 MB, free: 4.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.164e-06/0.02306, allocations: 3.984 kB / 344.8 MB, free: 4.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006453/0.0237, allocations: 251.4 kB / 345.1 MB, free: 4.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.721e-05/0.02372, allocations: 55.41 kB / 345.1 MB, free: 4.633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.585e-05/0.02381, allocations: 223.6 kB / 345.3 MB, free: 4.398 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.02383, allocations: 29.7 kB / 345.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.02388, allocations: 195.4 kB / 345.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.02393, allocations: 91.16 kB / 345.6 MB, free: 4.078 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-05/0.02402, allocations: 73.39 kB / 345.7 MB, free: 4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.02407, allocations: 0.5001 MB / 346.2 MB, free: 3.488 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.408e-05/0.02415, allocations: 55.95 kB / 346.3 MB, free: 3.434 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.02422, allocations: 61.44 kB / 346.3 MB, free: 3.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.0244, allocations: 148 kB / 346.5 MB, free: 3.227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.0244, allocations: 0 / 346.5 MB, free: 3.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003748/0.02478, allocations: 261 kB / 346.7 MB, free: 2.961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.02479, allocations: 11.94 kB / 346.7 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.0248, allocations: 0 / 346.7 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001924/0.02499, allocations: 35.64 kB / 346.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.0252, allocations: 63.91 kB / 346.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003788/0.02899, allocations: 1.783 MB / 348.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.02911, allocations: 27.72 kB / 348.6 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.02913, allocations: 7.984 kB / 348.7 MB, free: 0.9102 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.389e-05/0.02922, allocations: 172.5 kB / 348.8 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.02927, allocations: 23.91 kB / 348.8 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.02963, allocations: 212 kB / 349.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.02964, allocations: 12.05 kB / 349.1 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.02964, allocations: 4 kB / 349.1 MB, free: 488 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.02964, allocations: 3.984 kB / 349.1 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006079/0.03025, allocations: 0.5253 MB / 349.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.03025, allocations: 0 / 349.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.03041, allocations: 39.92 kB / 349.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001499/0.03056, allocations: 35.64 kB / 349.7 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.03057, allocations: 4 kB / 349.7 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.0316, allocations: 1.768 MB / 351.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0316, allocations: 0 / 351.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/0.03499, allocations: 340.2 kB / 351.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.03502, allocations: 19.84 kB / 351.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.03504, allocations: 7.984 kB / 351.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.03515, allocations: 4 kB / 351.8 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.03519, allocations: 19.97 kB / 351.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.0352, allocations: 4.062 kB / 351.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.004e-05/0.03528, allocations: 159.1 kB / 352 MB, free: 13.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03528, allocations: 0 / 352 MB, free: 13.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003645/0.03565, allocations: 79.89 kB / 352.1 MB, free: 13.3 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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): 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.0001608/0.03581, allocations: 115.2 kB / 352.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004902/0.0363, allocations: 349 kB / 352.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0363, allocations: 0 / 352.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.03657, allocations: 261.4 kB / 352.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.03683, allocations: 15.94 kB / 352.8 MB, free: 12.53 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.03888, allocations: 423.7 kB / 353.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.03898, allocations: 83.84 kB / 353.3 MB, free: 11.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.03914, allocations: 33.61 kB / 353.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.03927, allocations: 94.19 kB / 353.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of SimCode: time 1.533e-06/0.03927, allocations: 4 kB / 353.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of Templates: time 0.007069/0.04634, allocations: 3.003 MB / 356.4 MB, free: 8.859 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8388775973580778]