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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 110.5 kB / 17.17 MB, free: 5.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002008/0.002008, allocations: 196.5 kB / 20.12 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05022/0.05022, allocations: 8.226 MB / 311.6 MB, free: 2.082 MB / 238.1 MB " [Timeout remaining time 180] 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.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 68.12 kB / 434 MB, free: 11.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2713, allocations: 54.36 MB / 488.3 MB, free: 27.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003084/0.2744, allocations: 2.668 MB / 491 MB, free: 25.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.2763, allocations: 1.37 MB / 492.4 MB, free: 24.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.2764, allocations: 7.625 kB / 492.4 MB, free: 24.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004599/0.2769, allocations: 264.7 kB / 492.6 MB, free: 24.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.2772, allocations: 254.6 kB / 492.9 MB, free: 23.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.2787, allocations: 1.036 MB / 493.9 MB, free: 23.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.2792, allocations: 450.3 kB / 494.4 MB, free: 22.96 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.2793, allocations: 51.94 kB / 494.4 MB, free: 22.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.2795, allocations: 204.1 kB / 494.6 MB, free: 22.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.2798, allocations: 327.7 kB / 494.9 MB, free: 22.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.2799, allocations: 32.12 kB / 495 MB, free: 22.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00045/0.2803, allocations: 316.3 kB / 495.3 MB, free: 22.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.2804, allocations: 149 kB / 495.4 MB, free: 22.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.2806, allocations: 243.5 kB / 495.7 MB, free: 22.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006502/0.2812, allocations: 0.7235 MB / 496.4 MB, free: 21.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2813, allocations: 0 / 496.4 MB, free: 21.76 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2813, allocations: 0 / 496.4 MB, free: 21.76 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.2813, allocations: 1.312 kB / 496.4 MB, free: 21.76 MB / 366.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.003628/0.2849, allocations: 1.385 MB / 497.8 MB, free: 20.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2849, allocations: 14.05 kB / 497.8 MB, free: 20.76 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.328e-05/0.285, allocations: 59.17 kB / 497.8 MB, free: 20.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.2851, allocations: 68.98 kB / 497.9 MB, free: 20.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.2857, allocations: 476.6 kB / 498.4 MB, free: 20.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.2857, allocations: 17.47 kB / 498.4 MB, free: 20.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.197e-05/0.2857, allocations: 25.19 kB / 498.4 MB, free: 20.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/0.2864, allocations: 406.4 kB / 498.8 MB, free: 20.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2864, allocations: 0 / 498.8 MB, free: 20.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.2864, allocations: 16.14 kB / 498.8 MB, free: 20.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2864, allocations: 4.781 kB / 498.8 MB, free: 20.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005039/0.2869, allocations: 339 kB / 499.2 MB, free: 19.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.2883, allocations: 1.113 MB / 0.4885 GB, free: 18.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.2891, allocations: 453.7 kB / 0.489 GB, free: 18.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.2895, allocations: 218.1 kB / 0.4892 GB, free: 18.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008803/0.2903, allocations: 0.8649 MB / 0.49 GB, free: 17.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005354/0.2909, allocations: 488.9 kB / 0.4905 GB, free: 17.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.2909, allocations: 4 kB / 0.4905 GB, free: 17.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.003104/0.294, allocations: 1.326 MB / 0.4918 GB, free: 16.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.294, allocations: 254.4 kB / 0.492 GB, free: 16.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007078/0.2948, allocations: 0.6824 MB / 0.4927 GB, free: 15.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.2948, allocations: 37.98 kB / 0.4927 GB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.2949, allocations: 265.1 kB / 0.493 GB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.295, allocations: 119.6 kB / 0.4931 GB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.2951, allocations: 88.48 kB / 0.4932 GB, free: 15.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.637e-05/0.2952, allocations: 377.6 kB / 0.4936 GB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.2955, allocations: 201.4 kB / 0.4937 GB, free: 15.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/0.2958, allocations: 300.5 kB / 0.494 GB, free: 14.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003189/0.2989, allocations: 1.4 MB / 0.4954 GB, free: 14.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2989, allocations: 1.562 kB / 0.4954 GB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0016/0.3005, allocations: 0.914 MB / 0.4963 GB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.3006, allocations: 74.8 kB / 0.4964 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3006, allocations: 10.39 kB / 0.4964 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.302, allocations: 351.2 kB / 0.4967 GB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.3022, allocations: 68.38 kB / 0.4968 GB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.3038, allocations: 2.262 MB / 0.499 GB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.3043, allocations: 78.17 kB / 0.4991 GB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.3043, allocations: 19.12 kB / 0.4991 GB, free: 11.07 MB / 366.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.0003959/0.3047, allocations: 321.4 kB / 0.4994 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3048, allocations: 68.61 kB / 0.4994 GB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.3069, allocations: 1.012 MB / 0.5004 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.3069, allocations: 6.406 kB / 0.5004 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3069, allocations: 1.219 kB / 0.5004 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3069, allocations: 0 / 0.5004 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/0.3074, allocations: 0.5521 MB / 0.501 GB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3074, allocations: 0 / 0.501 GB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.3075, allocations: 35.08 kB / 0.501 GB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001465/0.309, allocations: 397.6 kB / 0.5014 GB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.309, allocations: 23.67 kB / 0.5014 GB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.311, allocations: 2.383 MB / 0.5037 GB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.311, allocations: 0 / 0.5037 GB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.313, allocations: 1.017 MB / 0.5047 GB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.3132, allocations: 212.2 kB / 0.5049 GB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.825e-05/0.3133, allocations: 19.94 kB / 0.505 GB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.3137, allocations: 57.84 kB / 0.505 GB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.3138, allocations: 39.95 kB / 0.5051 GB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.3139, allocations: 19.98 kB / 0.5051 GB, free: 6.488 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000481/0.3143, allocations: 490.8 kB / 0.5055 GB, free: 6.012 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3143, allocations: 7.938 kB / 0.5055 GB, free: 6.004 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005294/0.3149, allocations: 151.8 kB / 0.5057 GB, free: 5.855 MB / 366.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.002146/0.317, allocations: 1.612 MB / 0.5073 GB, free: 4.195 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.3182, allocations: 0.7687 MB / 0.508 GB, free: 3.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3182, allocations: 0 / 0.508 GB, free: 3.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007386/0.3189, allocations: 0.509 MB / 0.5085 GB, free: 2.844 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.3193, allocations: 58.94 kB / 0.5086 GB, free: 2.785 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009323/0.3286, allocations: 6.89 MB / 0.5153 GB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.3293, allocations: 0.8756 MB / 0.5162 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.3294, allocations: 55.25 kB / 0.5162 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.3297, allocations: 191.4 kB / 0.5164 GB, free: 10.58 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3297, allocations: 3.938 kB / 0.5164 GB, free: 10.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04331/0.373, allocations: 14.35 MB / 0.5304 GB, free: 12.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.94, allocations: 9.688 kB / 0.5304 GB, free: 12.4 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1_fmu --startTime=0 --stopTime=350 --stepSize=0.14 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.380520072765648] Failed to read output from testmodel.py, exit status != 0: 13.040925080887973 13.06398048 12.778470227 Calling exit ...