Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Branches.Generic.ULTC,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.Generic.ULTC,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC",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.004966/0.004966, allocations: 104.7 kB / 15.74 MB, free: 6.055 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.227/1.227, allocations: 222.9 MB / 239.4 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 192.4 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4706/0.4706, allocations: 91.9 MB / 431.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 80.59 kB / 0.5722 GB, free: 34.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1101, allocations: 71.28 MB / 0.6418 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.004479/0.1146, allocations: 4.394 MB / 0.6461 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.1167, allocations: 1.228 MB / 0.6473 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.1169, allocations: 11.94 kB / 0.6473 GB, free: 14.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.1173, allocations: 146.8 kB / 0.6475 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004878/0.1178, allocations: 262 kB / 0.6477 GB, free: 14.17 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.119, allocations: 0.5889 MB / 0.6483 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006751/0.1197, allocations: 0.8057 MB / 0.6491 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.1199, allocations: 204.6 kB / 0.6493 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.1202, allocations: 334.5 kB / 0.6496 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004127/0.1206, allocations: 422 kB / 0.65 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.807e-05/0.1207, allocations: 64 kB / 0.6501 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.121, allocations: 131.9 kB / 0.6502 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1211, allocations: 167.3 kB / 0.6503 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.1214, allocations: 389.7 kB / 0.6507 GB, free: 11.08 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007826/0.1222, allocations: 0.9194 MB / 0.6516 GB, free: 10.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1222, allocations: 0 / 0.6516 GB, free: 10.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1222, allocations: 0 / 0.6516 GB, free: 10.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.1222, allocations: 0 / 0.6516 GB, free: 10.16 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003902/0.1262, allocations: 1.572 MB / 0.6532 GB, free: 8.535 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1262, allocations: 8.031 kB / 0.6532 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.1263, allocations: 98.7 kB / 0.6533 GB, free: 8.422 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.1287, allocations: 430.9 kB / 0.6537 GB, free: 8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006164/0.1294, allocations: 0.4942 MB / 0.6541 GB, free: 7.465 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001946/0.1296, allocations: 197.8 kB / 0.6543 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.472e-05/0.1297, allocations: 55.94 kB / 0.6544 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.131, allocations: 0.6975 MB / 0.6551 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.131, allocations: 0 / 0.6551 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.1311, allocations: 20 kB / 0.6551 GB, free: 6.461 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.1311, allocations: 19.94 kB / 0.6551 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.1324, allocations: 0.6844 MB / 0.6558 GB, free: 5.758 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003334/0.1357, allocations: 2.14 MB / 0.6579 GB, free: 3.543 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006888/0.1426, allocations: 2.267 MB / 0.6601 GB, free: 1.156 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000921/0.1436, allocations: 491 kB / 0.6605 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.624e-05/0.1437, allocations: 16.64 kB / 0.6606 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.1447, allocations: 0.5275 MB / 0.6611 GB, free: 124 kB / 462.1 MB Notification: Performance of pre-optimization done (n=75): time 3.186e-06/0.1447, allocations: 0 / 0.6611 GB, free: 124 kB / 462.1 MB Notification: Performance of matching and sorting (n=75): time 0.01192/0.1567, allocations: 3.6 MB / 0.6646 GB, free: 12.45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.1568, allocations: 60.06 kB / 0.6647 GB, free: 12.38 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.1573, allocations: 0.5108 MB / 0.6652 GB, free: 11.86 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.408e-05/0.1574, allocations: 45.69 kB / 0.6652 GB, free: 11.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.1576, allocations: 320.6 kB / 0.6655 GB, free: 11.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.1578, allocations: 256.3 kB / 0.6657 GB, free: 11.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.1581, allocations: 130.7 kB / 0.6659 GB, free: 11.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1582, allocations: 382.8 kB / 0.6662 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007995/0.159, allocations: 405.8 kB / 0.6666 GB, free: 10.32 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000833/0.1598, allocations: 0.5029 MB / 0.6671 GB, free: 9.781 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008033/0.1679, allocations: 2.529 MB / 0.6696 GB, free: 7.219 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.1679, allocations: 4 kB / 0.6696 GB, free: 7.215 MB / 478.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.006454/0.1744, allocations: 2.227 MB / 0.6718 GB, free: 4.969 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.1744, allocations: 13.03 kB / 0.6718 GB, free: 4.957 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.1744, allocations: 8 kB / 0.6718 GB, free: 4.949 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003541/0.178, allocations: 0.9937 MB / 0.6728 GB, free: 3.945 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.1785, allocations: 111.8 kB / 0.6729 GB, free: 3.836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008461/0.187, allocations: 4.494 MB / 0.6772 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007311/0.1878, allocations: 111.2 kB / 0.6774 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.1879, allocations: 27.94 kB / 0.6774 GB, free: 15.07 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: ultc.y3l0:DISCRETE(fixed = true ) "Loop breaker for when-clauses" type: Boolean ultc.y2l0:DISCRETE(fixed = true ) "Loop breaker for when-clauses" type: Boolean load.xp:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real load.xq:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.ultc.zeroCrossing.enable,$PRE.ultc.zeroCrossing.u_pos,$PRE.ultc.zeroCrossing.disable,$PRE.ultc.y3l0,$PRE.ultc.y2l0,ultc.zeroCrossing.enable,ultc.zeroCrossing.u_pos,ultc.zeroCrossing.disable,ultc.zeroCrossing.y,$whenCondition2,$whenCondition1,ultc.y3l0,ultc.y2l0,ultc.m,$PRE.ultc.m) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003934/0.1883, allocations: 210.7 kB / 0.6776 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.1885, allocations: 79.06 kB / 0.6777 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006354/0.1948, allocations: 2.173 MB / 0.6798 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.1949, allocations: 8 kB / 0.6798 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.1949, allocations: 3.984 kB / 0.6798 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.1949, allocations: 0 / 0.6798 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007547/0.2024, allocations: 3.19 MB / 0.6829 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.2025, allocations: 4 kB / 0.6829 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/0.2029, allocations: 79.89 kB / 0.683 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003508/0.2064, allocations: 0.9897 MB / 0.684 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.435e-05/0.2065, allocations: 15.98 kB / 0.684 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008223/0.2148, allocations: 4.458 MB / 0.6883 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2148, allocations: 0 / 0.6883 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007367/0.2222, allocations: 2.764 MB / 0.691 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.2224, allocations: 156.1 kB / 0.6912 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.2226, allocations: 20 kB / 0.6912 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005852/0.2232, allocations: 59.92 kB / 0.6912 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004195/0.2236, allocations: 156.4 kB / 0.6914 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.514e-05/0.2237, allocations: 23.98 kB / 0.6914 GB, free: 388 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000372/0.224, allocations: 354.8 kB / 0.6918 GB, free: 36 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.224, allocations: 0 / 0.6918 GB, free: 36 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008411/0.2249, allocations: 267.7 kB / 0.692 GB, free: 15.77 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ultc.x1,load.xp,load.xq) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,ultc.m,ultc.y2l0,ultc.y3l0,ultc.zeroCrossing.y,ultc.zeroCrossing.disable,ultc.zeroCrossing.u_pos) * Number of discrete states: 5 (ultc.zeroCrossing.u_pos,ultc.zeroCrossing.disable,ultc.y2l0,ultc.y3l0,ultc.m) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007742/0.2326, allocations: 3.325 MB / 0.6953 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003701/0.2364, allocations: 1.59 MB / 0.6968 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2364, allocations: 4.062 kB / 0.6968 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002568/0.239, allocations: 1.119 MB / 0.6979 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/0.2396, allocations: 72.78 kB / 0.698 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01878/0.2584, allocations: 8.791 MB / 0.7066 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000492/0.2589, allocations: 0.9276 MB / 0.7075 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002494/0.2592, allocations: 68.92 kB / 0.7075 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.2595, allocations: 259.4 kB / 0.7078 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.2595, allocations: 0 / 0.7078 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04462/0.3042, allocations: 20.71 MB / 0.728 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.31, allocations: 3.938 kB / 0.728 GB, free: 10.66 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=0.0001 OpenIPSL_dev_OpenIPSL_Tests_Branches_Generic_ULTC.fmu > OpenIPSL_dev_OpenIPSL.Tests.Branches.Generic.ULTC.pipe 2>&1)