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.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.001259/0.001259, allocations: 110.7 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.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.001362/0.001362, allocations: 208.9 kB / 20.14 MB, free: 2.934 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.609/1.609, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.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.03999/0.03999, allocations: 6.131 MB / 315.7 MB, free: 1.141 MB / 238.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: "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 50.81 kB / 439.2 MB, free: 40.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 54.99 MB / 494.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002666/0.1119, allocations: 1.796 MB / 496 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.1141, allocations: 1.758 MB / 497.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.1143, allocations: 4 kB / 497.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.1148, allocations: 135.3 kB / 497.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004991/0.1153, allocations: 155 kB / 498.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.1171, allocations: 0.9299 MB / 499 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.1175, allocations: 350.7 kB / 499.3 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1176, allocations: 44.67 kB / 499.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1178, allocations: 143.5 kB / 499.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.1179, allocations: 155.3 kB / 499.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.118, allocations: 28 kB / 499.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003997/0.1184, allocations: 255.8 kB / 500 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.1184, allocations: 47.78 kB / 0.4883 GB, free: 4.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1185, allocations: 151.2 kB / 0.4884 GB, free: 4.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.119, allocations: 0.5022 MB / 0.4889 GB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.119, allocations: 4 kB / 0.4889 GB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.119, allocations: 0 / 0.4889 GB, free: 4.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.119, allocations: 0 / 0.4889 GB, free: 4.004 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.003582/0.1226, allocations: 1.084 MB / 0.49 GB, free: 2.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.1226, allocations: 8.031 kB / 0.49 GB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.928e-05/0.1227, allocations: 50.73 kB / 0.49 GB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.001e-05/0.1228, allocations: 32.75 kB / 0.4901 GB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.1231, allocations: 291 kB / 0.4903 GB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.1231, allocations: 12.38 kB / 0.4904 GB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1232, allocations: 32.55 kB / 0.4904 GB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.1238, allocations: 334.8 kB / 0.4907 GB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1238, allocations: 0 / 0.4907 GB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.1238, allocations: 12 kB / 0.4907 GB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.1239, allocations: 4 kB / 0.4907 GB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004794/0.1243, allocations: 267.8 kB / 0.491 GB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.1256, allocations: 0.8241 MB / 0.4918 GB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007966/0.1264, allocations: 392.5 kB / 0.4922 GB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.1267, allocations: 153.3 kB / 0.4923 GB, free: 356 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.1277, allocations: 0.8152 MB / 0.4931 GB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007022/0.1284, allocations: 374.8 kB / 0.4935 GB, free: 15.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.1284, allocations: 0 / 0.4935 GB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.00311/0.1315, allocations: 0.9701 MB / 0.4944 GB, free: 14.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.1316, allocations: 217.6 kB / 0.4946 GB, free: 13.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.132, allocations: 258.6 kB / 0.4949 GB, free: 13.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.132, allocations: 41.62 kB / 0.4949 GB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.1321, allocations: 140.9 kB / 0.495 GB, free: 13.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.1322, allocations: 115.1 kB / 0.4951 GB, free: 13.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.1324, allocations: 73.69 kB / 0.4952 GB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.1325, allocations: 346.8 kB / 0.4955 GB, free: 12.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.1328, allocations: 128.4 kB / 0.4957 GB, free: 12.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.1332, allocations: 242.4 kB / 0.4959 GB, free: 12.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003413/0.1366, allocations: 1.021 MB / 0.4969 GB, free: 11.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.1366, allocations: 0 / 0.4969 GB, free: 11.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001252/0.1379, allocations: 0.5743 MB / 0.4975 GB, free: 10.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.191e-05/0.1379, allocations: 41.69 kB / 0.4975 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1379, allocations: 0 / 0.4975 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/0.1395, allocations: 359.3 kB / 0.4978 GB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.1398, allocations: 71.83 kB / 0.4979 GB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/0.1423, allocations: 2.253 MB / 0.5001 GB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.1428, allocations: 75.67 kB / 0.5002 GB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.1428, allocations: 24 kB / 0.5002 GB, free: 7.703 MB / 366.1 MB Warning: Assuming fixed start value for the following 4 variables: slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = \"V\" fixed = true ) type: Real 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: 12 * Number of states: 0 () * Number of discrete variables: 13 ($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,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * 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 (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.0003671/0.1432, allocations: 223.9 kB / 0.5004 GB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/0.1433, allocations: 35.75 kB / 0.5005 GB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.1452, allocations: 0.6715 MB / 0.5011 GB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.1452, allocations: 4 kB / 0.5011 GB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1452, allocations: 3.938 kB / 0.5011 GB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1452, allocations: 7.984 kB / 0.5011 GB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.1458, allocations: 429.2 kB / 0.5015 GB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1458, allocations: 0 / 0.5015 GB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.146, allocations: 35.98 kB / 0.5016 GB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.1476, allocations: 407.6 kB / 0.502 GB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.1477, allocations: 11.98 kB / 0.502 GB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003094/0.1507, allocations: 2.391 MB / 0.5043 GB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1507, allocations: 0 / 0.5043 GB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.153, allocations: 0.8786 MB / 0.5052 GB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.1532, allocations: 148.8 kB / 0.5053 GB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.1533, allocations: 19.98 kB / 0.5053 GB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/0.1537, allocations: 52.02 kB / 0.5054 GB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.1538, allocations: 35.95 kB / 0.5054 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/0.1538, allocations: 15.98 kB / 0.5054 GB, free: 2.062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002197/0.154, allocations: 190 kB / 0.5056 GB, free: 1.879 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.154, allocations: 0 / 0.5056 GB, free: 1.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004579/0.1545, allocations: 95.95 kB / 0.5057 GB, free: 1.785 MB / 366.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 (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.002714/0.1572, allocations: 1.466 MB / 0.5071 GB, free: 280 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.1586, allocations: 0.5724 MB / 0.5077 GB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1586, allocations: 0 / 0.5077 GB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008749/0.1595, allocations: 398.3 kB / 0.5081 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.1598, allocations: 28.56 kB / 0.5081 GB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/0.1654, allocations: 3.482 MB / 0.5115 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.1659, allocations: 0.7605 MB / 0.5122 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.166, allocations: 34.27 kB / 0.5123 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.1662, allocations: 91.41 kB / 0.5124 GB, free: 10.67 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1662, allocations: 0 / 0.5124 GB, free: 10.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04129/0.2074, allocations: 9.519 MB / 0.5216 GB, free: 1.328 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.67, allocations: 12.91 kB / 0.5217 GB, free: 1.32 MB / 382.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2_res.csv --start-time 0 --stop-time 3000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.2 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.691812858000048] Failed to read output from testmodel.py, exit status != 0: 12.77628137699503 12.804734313 12.680697901 Calling exit ...