Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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.00134/0.00134, allocations: 71.22 kB / 19.97 MB, free: 1.73 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.001571/0.001571, allocations: 171.7 kB / 23.26 MB, free: 4.855 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.478/1.478, allocations: 177.1 MB / 203.6 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.03767/0.03767, allocations: 4.479 MB / 264.5 MB, free: 12.2 MB / 254.1 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.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 390.1 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.982e-05, allocations: 6.219 kB / 390.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003854/0.003884, allocations: 2.475 MB / 392.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002529/0.006413, allocations: 1.324 MB / 393.9 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.006539, allocations: 7.938 kB / 393.9 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005903/0.007129, allocations: 254.8 kB / 394.2 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.007658, allocations: 266.6 kB / 394.4 MB, free: 8.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002045/0.009704, allocations: 0.9297 MB / 395.4 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006322/0.01034, allocations: 458.3 kB / 395.8 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.01048, allocations: 48.89 kB / 395.9 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.01083, allocations: 263.4 kB / 396.1 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004316/0.01126, allocations: 283.3 kB / 396.4 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.861e-05/0.01133, allocations: 32 kB / 396.4 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005907/0.01192, allocations: 311.5 kB / 396.7 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.0121, allocations: 143.5 kB / 396.9 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.0123, allocations: 155.5 kB / 397 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.0133, allocations: 0.7634 MB / 397.8 MB, free: 4.922 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.01331, allocations: 0 / 397.8 MB, free: 4.922 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01331, allocations: 4 kB / 397.8 MB, free: 4.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.01331, allocations: 0 / 397.8 MB, free: 4.918 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.004487/0.0178, allocations: 1.309 MB / 399.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.01784, allocations: 12.03 kB / 399.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.01798, allocations: 72.45 kB / 399.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.0187, allocations: 413.7 kB / 399.6 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.01873, allocations: 16.38 kB / 399.6 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.01879, allocations: 28.3 kB / 399.6 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009606/0.01975, allocations: 0.605 MB / 400.2 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.01976, allocations: 192 / 400.2 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.0198, allocations: 15.94 kB / 400.3 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.01981, allocations: 4 kB / 400.3 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000709/0.02052, allocations: 415.5 kB / 400.7 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.02219, allocations: 0.8211 MB / 401.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.02321, allocations: 457.1 kB / 401.9 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004736/0.02369, allocations: 288.4 kB / 402.2 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.02475, allocations: 0.6056 MB / 402.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008591/0.0256, allocations: 0.655 MB / 403.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.873e-06/0.02561, allocations: 0 / 403.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.003833/0.02944, allocations: 1.38 MB / 404.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/0.02961, allocations: 255.2 kB / 405.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008209/0.03043, allocations: 0.6864 MB / 405.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.03048, allocations: 37.7 kB / 405.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.03071, allocations: 256.8 kB / 406.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.03084, allocations: 123 kB / 406.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.03099, allocations: 93.98 kB / 406.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.03118, allocations: 378.8 kB / 406.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.03155, allocations: 272.2 kB / 406.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.03201, allocations: 417.6 kB / 407.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003772/0.03579, allocations: 1.419 MB / 408.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.03579, allocations: 4 kB / 408.8 MB, free: 9.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002021/0.03781, allocations: 1.016 MB / 409.8 MB, free: 8.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.796e-05/0.03788, allocations: 71.39 kB / 409.8 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.03789, allocations: 0 / 409.8 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/0.0395, allocations: 400.5 kB / 410.2 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.03975, allocations: 67.84 kB / 410.3 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.0421, allocations: 2.204 MB / 412.5 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/0.04262, allocations: 83.61 kB / 412.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.04268, allocations: 24.09 kB / 412.6 MB, free: 5.266 MB / 334.1 MB Warning: Assuming fixed start value for the following 3 variables: varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true ) \"Current tap position\" type: Integer varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = \"s\" fixed = true protected = true ) \"Time lag between the first change and the following tap\" type: Real varTra.tapChanger.abnormalUTime:DISCRETE(unit = \"s\" fixed = true protected = true ) \"Time when the signal U went out its normal range\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000457/0.04313, allocations: 322.5 kB / 412.9 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.04324, allocations: 71.52 kB / 413 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.04574, allocations: 1.134 MB / 414.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.04574, allocations: 4 kB / 414.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.04574, allocations: 4 kB / 414.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.04575, allocations: 7.984 kB / 414.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.04626, allocations: 416.9 kB / 414.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.04627, allocations: 0 / 414.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.0464, allocations: 27.92 kB / 414.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/0.04811, allocations: 452.6 kB / 415 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.557e-05/0.04815, allocations: 19.98 kB / 415 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/0.0509, allocations: 2.331 MB / 417.4 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.0509, allocations: 0 / 417.4 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.05346, allocations: 1.14 MB / 418.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.05374, allocations: 127.4 kB / 418.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.05384, allocations: 20 kB / 418.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/0.05427, allocations: 59.94 kB / 418.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.0544, allocations: 39.95 kB / 418.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.549e-05/0.05447, allocations: 19.98 kB / 418.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000653/0.05512, allocations: 494.8 kB / 419.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.05512, allocations: 0 / 419.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005731/0.05569, allocations: 135.9 kB / 419.4 MB, free: 14.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003572/0.05605, allocations: 171.1 kB / 419.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001739/0.05779, allocations: 0.9225 MB / 420.5 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.05779, allocations: 0 / 420.5 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.05891, allocations: 0.5909 MB / 421.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.05928, allocations: 58.92 kB / 421.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.06127, allocations: 1.14 MB / 422.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.06156, allocations: 278 kB / 422.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.06172, allocations: 63.19 kB / 422.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.683e-05/0.06181, allocations: 28.5 kB / 422.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.06181, allocations: 0 / 422.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Templates: time 0.01631/0.07812, allocations: 7.76 MB / 430.4 MB, free: 3.066 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.844816621392965] Failed to read output from testmodel.py, exit status != 0: 0.08713532239198685 0.10176248999999994 0.085462276 Calling exit ...