Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Branches.Generic.ULTC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08085/0.08085, allocations: 12.77 MB / 29.12 MB, free: 248 kB / 19.63 MB " [Timeout remaining time 180] 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.001265/0.001265, allocations: 115.5 kB / 34.91 MB, free: 1.227 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 207.6 MB / 248.2 MB, free: 10.21 MB / 206.1 MB " [Timeout remaining time 178] 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.001441/0.001441, allocations: 199.9 kB / 303.1 MB, free: 5.57 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4271/0.4271, allocations: 79.7 MB / 437.6 MB, free: 4.008 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Branches.Generic.ULTC,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_Generic_ULTC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Branches.Generic.ULTC,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Branches_Generic_ULTC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00407/0.00407, allocations: 151.8 kB / 0.5828 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1333, allocations: 72 MB / 0.6531 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Branches.Generic.ULTC): time 0.005816/0.1391, allocations: 4.431 MB / 0.6574 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.1416, allocations: 1.22 MB / 0.6586 GB, free: 9.809 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.1418, allocations: 8 kB / 0.6586 GB, free: 9.801 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.1422, allocations: 146.8 kB / 0.6587 GB, free: 9.656 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005539/0.1428, allocations: 262 kB / 0.659 GB, free: 9.398 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001373/0.1441, allocations: 0.5723 MB / 0.6595 GB, free: 8.828 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008981/0.145, allocations: 0.8095 MB / 0.6603 GB, free: 8.012 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000288/0.1453, allocations: 137.8 kB / 0.6605 GB, free: 7.859 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003455/0.1457, allocations: 342.5 kB / 0.6608 GB, free: 7.523 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005204/0.1462, allocations: 410 kB / 0.6612 GB, free: 7.121 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.371e-05/0.1463, allocations: 64 kB / 0.6612 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.1466, allocations: 135.9 kB / 0.6614 GB, free: 6.926 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.1467, allocations: 163.3 kB / 0.6615 GB, free: 6.766 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003685/0.1471, allocations: 397.7 kB / 0.6619 GB, free: 6.375 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.1482, allocations: 0.9179 MB / 0.6628 GB, free: 5.453 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1482, allocations: 3.938 kB / 0.6628 GB, free: 5.449 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1482, allocations: 0 / 0.6628 GB, free: 5.449 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1482, allocations: 0 / 0.6628 GB, free: 5.449 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.004551/0.1527, allocations: 1.582 MB / 0.6644 GB, free: 3.812 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1528, allocations: 11.98 kB / 0.6644 GB, free: 3.801 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001309/0.1529, allocations: 102.7 kB / 0.6645 GB, free: 3.691 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00273/0.1556, allocations: 427.4 kB / 0.6649 GB, free: 3.273 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007238/0.1564, allocations: 0.5063 MB / 0.6654 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.1566, allocations: 197.8 kB / 0.6656 GB, free: 2.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.1567, allocations: 52 kB / 0.6656 GB, free: 2.449 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.1582, allocations: 0.6936 MB / 0.6663 GB, free: 1.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.1582, allocations: 0 / 0.6663 GB, free: 1.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.962e-05/0.1583, allocations: 24 kB / 0.6663 GB, free: 1.727 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.1583, allocations: 15.94 kB / 0.6663 GB, free: 1.711 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.1598, allocations: 0.6727 MB / 0.667 GB, free: 1.039 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003918/0.1637, allocations: 2.137 MB / 0.6691 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007904/0.1716, allocations: 2.194 MB / 0.6712 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.1726, allocations: 436.2 kB / 0.6716 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.876e-05/0.1727, allocations: 12.64 kB / 0.6716 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/0.174, allocations: 0.5274 MB / 0.6722 GB, free: 11.53 MB / 478.1 MB Notification: Performance of pre-optimization done (n=73): time 5.851e-06/0.174, allocations: 0 / 0.6722 GB, free: 11.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=73): time 0.007518/0.1815, allocations: 2.44 MB / 0.6745 GB, free: 9.023 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.1816, allocations: 60.06 kB / 0.6746 GB, free: 8.949 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006532/0.1822, allocations: 0.5071 MB / 0.6751 GB, free: 8.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-05/0.1823, allocations: 45.69 kB / 0.6751 GB, free: 8.379 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.1826, allocations: 325.1 kB / 0.6754 GB, free: 8.059 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002746/0.1829, allocations: 265.7 kB / 0.6757 GB, free: 7.797 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.1831, allocations: 122.6 kB / 0.6758 GB, free: 7.672 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.1833, allocations: 378.8 kB / 0.6762 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009426/0.1843, allocations: 409.8 kB / 0.6766 GB, free: 6.895 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.1853, allocations: 0.4945 MB / 0.677 GB, free: 6.367 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009499/0.1948, allocations: 2.51 MB / 0.6795 GB, free: 3.836 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.1948, allocations: 4 kB / 0.6795 GB, free: 3.832 MB / 478.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.007432/0.2022, allocations: 2.204 MB / 0.6817 GB, free: 1.605 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.2022, allocations: 8 kB / 0.6817 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2022, allocations: 0 / 0.6817 GB, free: 1.598 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004122/0.2064, allocations: 0.9937 MB / 0.6826 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000534/0.2069, allocations: 107.8 kB / 0.6827 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/0.2171, allocations: 4.53 MB / 0.6872 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007609/0.2178, allocations: 95.5 kB / 0.6873 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.454e-05/0.2179, allocations: 24 kB / 0.6873 GB, free: 11.71 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: 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: 9 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.ultc.zeroCrossing.enable,$PRE.ultc.zeroCrossing.u_pos,$PRE.ultc.zeroCrossing.disable,ultc.zeroCrossing.enable,ultc.zeroCrossing.u_pos,ultc.zeroCrossing.disable,ultc.zeroCrossing.y,ultc.m,$PRE.ultc.m,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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.0003964/0.2183, allocations: 205.8 kB / 0.6875 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.2185, allocations: 83.47 kB / 0.6876 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005001/0.2235, allocations: 1.674 MB / 0.6892 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.2235, allocations: 8 kB / 0.6892 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2235, allocations: 0 / 0.6892 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.2235, allocations: 11.92 kB / 0.6892 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005006/0.2285, allocations: 2.408 MB / 0.6916 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2285, allocations: 0 / 0.6916 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.2289, allocations: 71.91 kB / 0.6916 GB, free: 7.129 MB / 494.1 MB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (simulation): time 0.004352/0.2333, allocations: 1.065 MB / 0.6927 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.891e-05/0.2333, allocations: 19.98 kB / 0.6927 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000571/0.2339, allocations: 104.6 kB / 0.6928 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2339, allocations: 4 kB / 0.6928 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004723/0.2386, allocations: 1.997 MB / 0.6947 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.2389, allocations: 156.5 kB / 0.6949 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.239, allocations: 19.94 kB / 0.6949 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.2397, allocations: 55.94 kB / 0.695 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/0.24, allocations: 124.5 kB / 0.6951 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-05/0.2401, allocations: 20 kB / 0.6951 GB, free: 3.516 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004547/0.2405, allocations: 354.8 kB / 0.6954 GB, free: 3.172 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2405, allocations: 0 / 0.6954 GB, free: 3.172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007646/0.2413, allocations: 235.8 kB / 0.6957 GB, free: 2.941 MB / 494.1 MB 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: 6 ($whenCondition1,$whenCondition2,ultc.m,ultc.zeroCrossing.y,ultc.zeroCrossing.disable,ultc.zeroCrossing.u_pos) * Number of discrete states: 3 (ultc.zeroCrossing.u_pos,ultc.zeroCrossing.disable,ultc.m) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 42 * 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 {(16,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00519/0.2465, allocations: 2.552 MB / 0.6982 GB, free: 360 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2363/0.4828, allocations: 1.529 MB / 0.6996 GB, free: 44.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4828, allocations: 4.156 kB / 0.6996 GB, free: 44.89 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Branches/Generic/ULTC.mo:57:5-57:24:writable] Error: The language feature non-linear equations within when-equations is not supported. Suggested workaround: Perform non-linear operations outside the when-equation (this is slower, but works) Error: Internal error function createNonlinearResidualEquations failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3537:9-3537:50:writable] Error: Internal error function createOdeSystem failed for component torn nonlinear Equationsystem{{{23:9}, {27:8}, {26:7}, {24:3}, {30:5}, {21:66}, {20:33}, {14:29}, {15:67}, {9:20}, {5:21}}, {8, 6, 7, 13, 22, 31, 25, 29, 28, 12, 10, 11, 18, 19, 17, 16:35, 53, 11, 52, 10, 47, 46, 30, 12, 13, 40, 41, 43, 42, 45, 44} Size: 16 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1564:5-1564:72:writable] Error: Internal error SimCodeUtil.createEquationsForSystems failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.3571827430278063] Failed to read output from testmodel.py, exit status != 0: 0.4899340500123799 0.5036641390000001 0.35287944200000004 Calling exit ...