Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008024/0.0008024, allocations: 96.86 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000921/0.0009211, allocations: 176.6 kB / 16.62 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.3 MB / 240.7 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2584/0.2584, allocations: 8.081 MB / 299.8 MB, free: 2.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003301, allocations: 8 kB / 362.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 52.51 MB / 415.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002101/0.1368, allocations: 1.418 MB / 416.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.139, allocations: 1.603 MB / 418.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.813e-05/0.1391, allocations: 4 kB / 418.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.1394, allocations: 111.5 kB / 418.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.1397, allocations: 111.4 kB / 418.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.1412, allocations: 0.7554 MB / 419.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.1416, allocations: 302.7 kB / 419.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.1418, allocations: 52.64 kB / 419.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.1419, allocations: 123.5 kB / 419.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.1422, allocations: 143.4 kB / 420 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.1422, allocations: 16 kB / 420 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.1426, allocations: 215.7 kB / 420.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.107e-05/0.1427, allocations: 43.77 kB / 420.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.319e-05/0.1428, allocations: 73.58 kB / 420.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004153/0.1432, allocations: 347.4 kB / 420.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1432, allocations: 4 kB / 420.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1432, allocations: 0 / 420.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1432, allocations: 0 / 420.7 MB, free: 3.387 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.003201/0.1464, allocations: 1.015 MB / 421.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1465, allocations: 8.031 kB / 421.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.033e-05/0.1466, allocations: 35.67 kB / 421.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/0.1471, allocations: 289.5 kB / 422 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.1471, allocations: 12 kB / 422 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.993e-05/0.1472, allocations: 24 kB / 422 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.1478, allocations: 338.8 kB / 422.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1478, allocations: 0 / 422.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.1479, allocations: 12 kB / 422.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1479, allocations: 4 kB / 422.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005646/0.1485, allocations: 271.8 kB / 422.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.1498, allocations: 0.94 MB / 423.6 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2726/0.4224, allocations: 433.5 kB / 424 MB, free: 41.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004749/0.423, allocations: 206.5 kB / 424.2 MB, free: 41.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/0.424, allocations: 0.8105 MB / 425 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006199/0.4247, allocations: 378.3 kB / 425.4 MB, free: 40.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.4247, allocations: 0 / 425.4 MB, free: 40.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.002546/0.4272, allocations: 1.034 MB / 426.4 MB, free: 40.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.4273, allocations: 219.7 kB / 426.6 MB, free: 40.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.4275, allocations: 263.6 kB / 426.9 MB, free: 40.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.4276, allocations: 35.2 kB / 426.9 MB, free: 40.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.4277, allocations: 146.3 kB / 427.1 MB, free: 39.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.4278, allocations: 95.19 kB / 427.2 MB, free: 39.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.4278, allocations: 12.25 kB / 427.2 MB, free: 39.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.902e-05/0.4279, allocations: 344.8 kB / 427.5 MB, free: 39.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.4281, allocations: 134.8 kB / 427.7 MB, free: 39.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.4284, allocations: 231.4 kB / 427.9 MB, free: 39.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.4287, allocations: 201.2 kB / 428.1 MB, free: 39.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4287, allocations: 0 / 428.1 MB, free: 39.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008997/0.4296, allocations: 0.5883 MB / 428.7 MB, free: 39.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.4296, allocations: 43.64 kB / 428.7 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.4297, allocations: 3.906 kB / 428.7 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.431, allocations: 357.9 kB / 429.1 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.4312, allocations: 67.8 kB / 429.1 MB, free: 39.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.4328, allocations: 2.158 MB / 431.3 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.4332, allocations: 89.11 kB / 431.4 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.4333, allocations: 16.84 kB / 431.4 MB, free: 37.39 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: 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 varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true ) "Current tap position" type: Integer slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.varTra.tapChanger.tap,varTra.tapChanger.tap,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,$PRE.varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002669/0.4335, allocations: 224.3 kB / 431.6 MB, free: 37.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.4336, allocations: 31.67 kB / 431.6 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/0.4352, allocations: 0.8372 MB / 432.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.4352, allocations: 3.156 kB / 432.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.4352, allocations: 0 / 432.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.4352, allocations: 7.422 kB / 432.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.4357, allocations: 434 kB / 432.9 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4357, allocations: 0 / 432.9 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.4359, allocations: 33.36 kB / 432.9 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001373/0.4372, allocations: 413.6 kB / 433.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.4373, allocations: 16.41 kB / 433.4 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.439, allocations: 2.271 MB / 435.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.439, allocations: 0 / 435.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.4409, allocations: 1.055 MB / 436.7 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.4411, allocations: 153.8 kB / 436.8 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.4411, allocations: 17.31 kB / 436.9 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.4415, allocations: 63.06 kB / 436.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.4416, allocations: 42.92 kB / 437 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.4416, allocations: 13.28 kB / 437 MB, free: 34.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.4418, allocations: 184.2 kB / 437.1 MB, free: 34.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4418, allocations: 4 kB / 437.2 MB, free: 34.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004429/0.4423, allocations: 104.4 kB / 437.3 MB, free: 34.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slackBusRamp.U) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 10 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000241/0.4425, allocations: 146.2 kB / 437.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.4436, allocations: 0.6455 MB / 438 MB, free: 34.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4436, allocations: 4 kB / 438 MB, free: 34.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007101/0.4443, allocations: 0.544 MB / 438.6 MB, free: 33.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.4446, allocations: 39.2 kB / 438.6 MB, free: 33.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009479/0.4456, allocations: 0.7095 MB / 439.3 MB, free: 33.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/0.4457, allocations: 0.7609 MB / 440.1 MB, free: 32.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.4459, allocations: 31.75 kB / 440.1 MB, free: 32.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.4459, allocations: 26.62 kB / 440.2 MB, free: 32.52 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4459, allocations: 0 / 440.2 MB, free: 32.52 MB / 350.1 MB Notification: Performance of Templates: time 0.008684/0.4546, allocations: 5.477 MB / 445.6 MB, free: 32.1 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) Environment - environmentSimulation: