Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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: "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009438/0.0009439, allocations: 102.8 kB / 16.07 MB, free: 32 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.001005/0.001006, allocations: 181.7 kB / 16.97 MB, free: 6.879 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.284/1.284, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1713/0.1713, allocations: 8.089 MB / 300.2 MB, free: 2.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 8 kB / 363.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09567/0.09605, allocations: 52.5 MB / 416.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003032/0.09911, allocations: 2.855 MB / 419 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1008, allocations: 1.114 MB / 420.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.1009, allocations: 4 kB / 420.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003557/0.1012, allocations: 139.4 kB / 420.2 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005199/0.1018, allocations: 234.8 kB / 420.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.1038, allocations: 1.215 MB / 421.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.1042, allocations: 477.9 kB / 422.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.1044, allocations: 111.8 kB / 422.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.1046, allocations: 175.3 kB / 422.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.1049, allocations: 234.9 kB / 422.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.599e-05/0.1049, allocations: 20 kB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004229/0.1054, allocations: 287.8 kB / 422.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.1055, allocations: 67.62 kB / 423 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.1057, allocations: 236.5 kB / 423.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006632/0.1063, allocations: 0.6503 MB / 423.9 MB, free: 460 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1063, allocations: 0 / 423.9 MB, free: 460 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1063, allocations: 0 / 423.9 MB, free: 460 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1064, allocations: 0 / 423.9 MB, free: 460 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.1779/0.2842, allocations: 1.246 MB / 425.1 MB, free: 41.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.2843, allocations: 11.84 kB / 425.1 MB, free: 41.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.2844, allocations: 67.34 kB / 425.2 MB, free: 41.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.2845, allocations: 47.91 kB / 425.3 MB, free: 41.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.2849, allocations: 356 kB / 425.6 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/0.285, allocations: 57.42 kB / 425.7 MB, free: 41.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.2851, allocations: 35.81 kB / 425.7 MB, free: 41.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008939/0.286, allocations: 491.2 kB / 426.2 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.286, allocations: 0 / 426.2 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.442e-05/0.286, allocations: 12.09 kB / 426.2 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.2861, allocations: 6.375 kB / 426.2 MB, free: 40.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008148/0.2869, allocations: 480.5 kB / 426.7 MB, free: 40.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.2892, allocations: 2.003 MB / 428.7 MB, free: 40.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.2902, allocations: 0.5582 MB / 429.2 MB, free: 40.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.2907, allocations: 341.3 kB / 429.6 MB, free: 40.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.2909, allocations: 92.97 kB / 429.6 MB, free: 39.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007578/0.2916, allocations: 0.5532 MB / 430.2 MB, free: 39.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.575e-06/0.2916, allocations: 0 / 430.2 MB, free: 39.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.005721/0.2974, allocations: 1.905 MB / 432.1 MB, free: 39.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.2974, allocations: 196 kB / 432.3 MB, free: 39.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.2977, allocations: 319 kB / 432.6 MB, free: 39.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.2978, allocations: 38.86 kB / 432.6 MB, free: 39.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.2978, allocations: 177.4 kB / 432.8 MB, free: 39.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.872e-05/0.298, allocations: 161.1 kB / 433 MB, free: 38.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.889e-05/0.298, allocations: 54.45 kB / 433 MB, free: 38.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.299e-05/0.2981, allocations: 354 kB / 433.4 MB, free: 38.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004901/0.2986, allocations: 296.2 kB / 433.7 MB, free: 38.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.2991, allocations: 353.3 kB / 434 MB, free: 38.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007564/0.3066, allocations: 2.209 MB / 436.2 MB, free: 37.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3067, allocations: 0 / 436.2 MB, free: 37.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003115/0.3098, allocations: 1.318 MB / 437.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.3098, allocations: 39.41 kB / 437.6 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3098, allocations: 0 / 437.6 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003517/0.3134, allocations: 0.8692 MB / 438.4 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.3137, allocations: 69.66 kB / 438.5 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/0.3151, allocations: 1.281 MB / 439.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.3157, allocations: 99.25 kB / 439.9 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/0.3157, allocations: 19.81 kB / 439.9 MB, free: 36 MB / 350.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: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varLoad.degradedMode,$PRE.varLoad.degradedMode,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002904/0.316, allocations: 226.6 kB / 440.1 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.3161, allocations: 43.62 kB / 440.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.3179, allocations: 1.241 MB / 441.4 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.3179, allocations: 10.44 kB / 441.4 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.318, allocations: 0.5625 kB / 441.4 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.318, allocations: 3.375 kB / 441.4 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004444/0.3184, allocations: 0.6327 MB / 442.1 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3184, allocations: 0 / 442.1 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.3186, allocations: 43.88 kB / 442.1 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003505/0.3221, allocations: 0.9258 MB / 443 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/0.3222, allocations: 17.84 kB / 443.1 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.3239, allocations: 1.409 MB / 444.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3239, allocations: 0 / 444.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.3256, allocations: 1.199 MB / 445.7 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.3258, allocations: 204.5 kB / 445.9 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.724e-05/0.3259, allocations: 21.25 kB / 445.9 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005102/0.3264, allocations: 82.41 kB / 446 MB, free: 32.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.3265, allocations: 53.2 kB / 446 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.713e-05/0.3266, allocations: 20.25 kB / 446 MB, free: 32.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.3268, allocations: 225.2 kB / 446.3 MB, free: 32.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3268, allocations: 2.938 kB / 446.3 MB, free: 32.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004075/0.3272, allocations: 142.2 kB / 446.4 MB, free: 32.61 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: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001982/0.3292, allocations: 1.794 MB / 448.2 MB, free: 31.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.3309, allocations: 0.9312 MB / 449.1 MB, free: 31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3309, allocations: 3.938 kB / 449.1 MB, free: 31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.3322, allocations: 0.6762 MB / 449.8 MB, free: 30.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.3325, allocations: 54.08 kB / 449.9 MB, free: 30.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009371/0.3419, allocations: 5.822 MB / 455.7 MB, free: 27.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.3422, allocations: 0.8044 MB / 456.5 MB, free: 26.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.3423, allocations: 50.73 kB / 456.5 MB, free: 26.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.3425, allocations: 130 kB / 456.7 MB, free: 26.64 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3425, allocations: 0 / 456.7 MB, free: 26.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.3691, allocations: 12.95 MB / 469.6 MB, free: 25.73 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/0.3693, allocations: 239.7 kB / 469.8 MB, free: 25.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.251, allocations: 0 / 469.8 MB, free: 25.47 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1)