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.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.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009222/0.0009223, 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.001068/0.001068, allocations: 176.2 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.524/1.524, allocations: 223.3 MB / 240.7 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.261/0.261, allocations: 8.079 MB / 299.8 MB, free: 2.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003508, allocations: 8 kB / 362.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1301, allocations: 52.51 MB / 415.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.00352/0.1337, allocations: 2.245 MB / 417.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002994/0.1367, allocations: 1.232 MB / 418.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003974/0.1372, allocations: 4 kB / 418.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007052/0.1379, allocations: 215.3 kB / 419.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007395/0.1386, allocations: 235.1 kB / 419.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.1406, allocations: 0.8061 MB / 420.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008454/0.1415, allocations: 374.5 kB / 420.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.1417, allocations: 64.81 kB / 420.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004661/0.1422, allocations: 175.4 kB / 420.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/0.1428, allocations: 247.2 kB / 420.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.034e-05/0.1429, allocations: 16 kB / 421 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000752/0.1436, allocations: 287.7 kB / 421.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.1438, allocations: 139.5 kB / 421.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.144, allocations: 109.4 kB / 421.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008902/0.1449, allocations: 0.5031 MB / 422 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1449, allocations: 3.938 kB / 422 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1449, allocations: 0 / 422 MB, free: 2.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.197e-05/0.145, allocations: 0 / 422 MB, free: 2.066 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.003911/0.1489, allocations: 1.284 MB / 423.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.149, allocations: 8.031 kB / 423.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.1491, allocations: 67.2 kB / 423.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006096/0.1497, allocations: 447 kB / 423.8 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.1498, allocations: 24 kB / 423.8 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.1498, allocations: 20 kB / 423.8 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2629/0.4127, allocations: 407.2 kB / 424.2 MB, free: 41.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.4128, allocations: 0 / 424.2 MB, free: 41.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.4129, allocations: 4.969 kB / 424.2 MB, free: 41.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.4129, allocations: 6.188 kB / 424.2 MB, free: 41.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005681/0.4134, allocations: 343.8 kB / 424.6 MB, free: 41.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.4153, allocations: 1.116 MB / 425.7 MB, free: 40.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008518/0.4161, allocations: 0.5067 MB / 426.2 MB, free: 40.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/0.4165, allocations: 275.7 kB / 426.5 MB, free: 40.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000981/0.4175, allocations: 0.8625 MB / 427.3 MB, free: 40.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006316/0.4182, allocations: 492.4 kB / 427.8 MB, free: 40.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 3.206e-06/0.4182, allocations: 0 / 427.8 MB, free: 40.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003247/0.4214, allocations: 1.411 MB / 429.2 MB, free: 39.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.4216, allocations: 251.4 kB / 429.5 MB, free: 39.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007294/0.4223, allocations: 0.6732 MB / 430.1 MB, free: 39.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.4223, allocations: 38.83 kB / 430.2 MB, free: 39.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.4226, allocations: 256.7 kB / 430.4 MB, free: 39.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.684e-05/0.4227, allocations: 123.5 kB / 430.6 MB, free: 39.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.4227, allocations: 6.688 kB / 430.6 MB, free: 39.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4228, allocations: 380.9 kB / 430.9 MB, free: 38.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.4231, allocations: 197.6 kB / 431.1 MB, free: 38.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.4235, allocations: 305.7 kB / 431.4 MB, free: 38.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.4239, allocations: 286.1 kB / 431.7 MB, free: 38.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4239, allocations: 0 / 431.7 MB, free: 38.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001547/0.4255, allocations: 0.9263 MB / 432.6 MB, free: 38.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.376e-05/0.4255, allocations: 69.86 kB / 432.7 MB, free: 38.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.4256, allocations: 3.281 kB / 432.7 MB, free: 38.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.427, allocations: 363.6 kB / 433.1 MB, free: 38.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.4273, allocations: 67.34 kB / 433.1 MB, free: 38.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.4291, allocations: 2.155 MB / 435.3 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.4296, allocations: 96.53 kB / 435.4 MB, free: 36.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.746e-05/0.4296, allocations: 23.28 kB / 435.4 MB, free: 36.6 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,$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 (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * 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.0004667/0.4301, allocations: 317.5 kB / 435.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.4302, allocations: 66.83 kB / 435.8 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.4323, allocations: 1.175 MB / 436.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.4323, allocations: 3.312 kB / 436.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4323, allocations: 0 / 436.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.4324, allocations: 3.891 kB / 436.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.4329, allocations: 0.5558 MB / 437.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4329, allocations: 3.281 kB / 437.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.433, allocations: 27.3 kB / 437.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/0.4344, allocations: 420.1 kB / 437.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.4344, allocations: 17.3 kB / 438 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.4363, allocations: 2.273 MB / 440.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4364, allocations: 1.125 kB / 440.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.4384, allocations: 1.177 MB / 441.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.4386, allocations: 197.9 kB / 441.6 MB, free: 32.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.038e-05/0.4387, allocations: 24.72 kB / 441.6 MB, free: 32.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.4391, allocations: 63.02 kB / 441.7 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.4392, allocations: 41.81 kB / 441.7 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.4393, allocations: 16.94 kB / 441.7 MB, free: 32.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005473/0.4398, allocations: 0.4887 MB / 442.2 MB, free: 32.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4398, allocations: 0 / 442.2 MB, free: 32.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006036/0.4404, allocations: 141.4 kB / 442.4 MB, free: 32.46 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 (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.0003227/0.4408, allocations: 174.9 kB / 442.5 MB, free: 32.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.4421, allocations: 0.8799 MB / 443.4 MB, free: 31.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4421, allocations: 0 / 443.4 MB, free: 31.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008831/0.443, allocations: 0.7112 MB / 444.1 MB, free: 31.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.4434, allocations: 52.52 kB / 444.2 MB, free: 31.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.4452, allocations: 1.2 MB / 445.4 MB, free: 30.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.4456, allocations: 0.8768 MB / 446.3 MB, free: 30.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.4457, allocations: 60.3 kB / 446.3 MB, free: 30.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.781e-05/0.4458, allocations: 28.5 kB / 446.4 MB, free: 30.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4458, allocations: 0 / 446.4 MB, free: 30.04 MB / 350.1 MB Notification: Performance of Templates: time 0.01313/0.459, allocations: 7.296 MB / 453.6 MB, free: 29.45 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: