Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.00132/0.00132, allocations: 109.2 kB / 16.46 MB, free: 6.504 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.429/1.429, allocations: 225.6 MB / 244.8 MB, free: 14.16 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.001492/0.001492, allocations: 200.8 kB / 299.8 MB, free: 9.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4527/0.4527, allocations: 79.72 MB / 434.4 MB, free: 6.191 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002478/0.002478, allocations: 83.88 kB / 0.5784 GB, free: 9.953 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1238, allocations: 72.09 MB / 0.6488 GB, free: 1.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.00693/0.1308, allocations: 5.801 MB / 0.6544 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.1344, allocations: 1.751 MB / 0.6562 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006669/0.1351, allocations: 8 kB / 0.6562 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006116/0.1357, allocations: 210.2 kB / 0.6564 GB, free: 9.953 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.1377, allocations: 0.7388 MB / 0.6571 GB, free: 9.211 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.1391, allocations: 0.5633 MB / 0.6576 GB, free: 8.656 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.1408, allocations: 1.249 MB / 0.6589 GB, free: 7.402 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.1412, allocations: 199.1 kB / 0.659 GB, free: 7.195 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007751/0.142, allocations: 0.529 MB / 0.6596 GB, free: 6.664 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008872/0.1429, allocations: 0.6533 MB / 0.6602 GB, free: 6.008 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.1431, allocations: 88 kB / 0.6603 GB, free: 5.922 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.1436, allocations: 219.9 kB / 0.6605 GB, free: 5.707 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.1439, allocations: 239 kB / 0.6607 GB, free: 5.473 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006129/0.1445, allocations: 0.5476 MB / 0.6613 GB, free: 4.922 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.1462, allocations: 1.357 MB / 0.6626 GB, free: 3.559 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1462, allocations: 0 / 0.6626 GB, free: 3.559 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1462, allocations: 3.938 kB / 0.6626 GB, free: 3.555 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.263e-05/0.1462, allocations: 7.938 kB / 0.6626 GB, free: 3.547 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.008212/0.1544, allocations: 2.385 MB / 0.6649 GB, free: 1.109 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1545, allocations: 12.02 kB / 0.6649 GB, free: 1.098 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.1547, allocations: 114.5 kB / 0.665 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005233/0.1599, allocations: 0.7602 MB / 0.6658 GB, free: 220 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.1613, allocations: 0.7213 MB / 0.6665 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003221/0.1616, allocations: 252.2 kB / 0.6667 GB, free: 15.17 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.1618, allocations: 68 kB / 0.6668 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.164, allocations: 0.9598 MB / 0.6677 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1641, allocations: 0 / 0.6677 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.92e-05/0.1642, allocations: 28 kB / 0.6678 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.1642, allocations: 20 kB / 0.6678 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.1664, allocations: 0.9759 MB / 0.6687 GB, free: 13.11 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006103/0.1725, allocations: 3.163 MB / 0.6718 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/0.1746, allocations: 1.228 MB / 0.673 GB, free: 8.445 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.1761, allocations: 0.629 MB / 0.6736 GB, free: 7.816 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.491e-05/0.1762, allocations: 20.92 kB / 0.6737 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.1762, allocations: 39.56 kB / 0.6737 GB, free: 7.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 2.344e-06/0.1762, allocations: 0 / 0.6737 GB, free: 7.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.02595/0.2021, allocations: 6.45 MB / 0.68 GB, free: 1.262 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.2022, allocations: 64.34 kB / 0.6801 GB, free: 1.188 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.2033, allocations: 0.7985 MB / 0.6808 GB, free: 392 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001743/0.2035, allocations: 41.7 kB / 0.6809 GB, free: 344 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/0.2039, allocations: 433.2 kB / 0.6813 GB, free: 15.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003822/0.2043, allocations: 317.2 kB / 0.6816 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004216/0.2047, allocations: 186.9 kB / 0.6818 GB, free: 15.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2049, allocations: 345.9 kB / 0.6821 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.2064, allocations: 0.6584 MB / 0.6827 GB, free: 14.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.2081, allocations: 0.7873 MB / 0.6835 GB, free: 13.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01843/0.2265, allocations: 4.524 MB / 0.6879 GB, free: 9.023 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.2265, allocations: 0 / 0.6879 GB, free: 9.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01364/0.2401, allocations: 4.055 MB / 0.6919 GB, free: 4.953 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.2402, allocations: 8 kB / 0.6919 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.2402, allocations: 0 / 0.6919 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006111/0.2463, allocations: 1.733 MB / 0.6936 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000953/0.2472, allocations: 179.8 kB / 0.6938 GB, free: 3.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2589/0.5061, allocations: 9.047 MB / 0.7026 GB, free: 41.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.5075, allocations: 160.9 kB / 0.7027 GB, free: 41.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.5076, allocations: 40.91 kB / 0.7028 GB, free: 41.41 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004011/0.508, allocations: 224.9 kB / 0.703 GB, free: 41.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.5082, allocations: 112.4 kB / 0.7031 GB, free: 41.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.5214, allocations: 3.791 MB / 0.7068 GB, free: 40.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.5214, allocations: 8.062 kB / 0.7068 GB, free: 40.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5214, allocations: 1.938 kB / 0.7068 GB, free: 40.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.616e-05/0.5214, allocations: 8.234 kB / 0.7068 GB, free: 40.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.5361, allocations: 5.334 MB / 0.712 GB, free: 38.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.5361, allocations: 0 / 0.712 GB, free: 38.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/0.5367, allocations: 92.31 kB / 0.7121 GB, free: 38.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005517/0.5422, allocations: 1.744 MB / 0.7138 GB, free: 38.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/0.5423, allocations: 12.25 kB / 0.7138 GB, free: 38.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/0.5593, allocations: 8.065 MB / 0.7217 GB, free: 34.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5593, allocations: 3.062 kB / 0.7217 GB, free: 34.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/0.5722, allocations: 4.711 MB / 0.7263 GB, free: 32.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.5726, allocations: 196.2 kB / 0.7265 GB, free: 32.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.5728, allocations: 15.94 kB / 0.7265 GB, free: 32.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008689/0.5736, allocations: 94.83 kB / 0.7266 GB, free: 32.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005489/0.5742, allocations: 199.4 kB / 0.7268 GB, free: 32.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.925e-05/0.5742, allocations: 19.84 kB / 0.7268 GB, free: 32.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005339/0.5748, allocations: 0.5342 MB / 0.7273 GB, free: 31.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5748, allocations: 0 / 0.7273 GB, free: 31.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001145/0.5759, allocations: 411.7 kB / 0.7277 GB, free: 31.72 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01278/0.5887, allocations: 5.282 MB / 0.7329 GB, free: 28.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005596/0.5943, allocations: 2.199 MB / 0.735 GB, free: 26.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5943, allocations: 0 / 0.735 GB, free: 26.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003944/0.5982, allocations: 1.446 MB / 0.7365 GB, free: 24.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/0.599, allocations: 79.34 kB / 0.7365 GB, free: 24.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0304/0.6294, allocations: 14.14 MB / 0.7503 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.6298, allocations: 1.037 MB / 0.7513 GB, free: 9.289 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003126/0.6301, allocations: 74.31 kB / 0.7514 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/0.6304, allocations: 381.7 kB / 0.7518 GB, free: 8.844 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6304, allocations: 0 / 0.7518 GB, free: 8.844 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06785/0.6983, allocations: 31.24 MB / 0.7823 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/16.44, allocations: 4.062 kB / 0.7823 GB, free: 9.73 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.870966766029596] Failed to read output from testmodel.py, exit status != 0: 16.54661349626258 16.569757502 16.419226932 Calling exit ...