Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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.07809/0.07809, allocations: 12.77 MB / 29.12 MB, free: 6.379 MB / 26.18 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.001258/0.001258, allocations: 115.5 kB / 34.91 MB, free: 1.078 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.362/1.362, allocations: 207.6 MB / 248.2 MB, free: 10.22 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.001538/0.001538, allocations: 196.4 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.4258/0.4258, allocations: 79.72 MB / 437.6 MB, free: 3.918 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.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",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.003848/0.003848, allocations: 143.8 kB / 0.5828 GB, free: 7.551 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1306, allocations: 72.01 MB / 0.6531 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.008065/0.1386, allocations: 6.552 MB / 0.6595 GB, free: 8.855 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.1423, allocations: 1.842 MB / 0.6613 GB, free: 7.008 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004763/0.1428, allocations: 12 kB / 0.6613 GB, free: 6.996 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005334/0.1433, allocations: 226 kB / 0.6615 GB, free: 6.773 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.1451, allocations: 0.7815 MB / 0.6623 GB, free: 5.992 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001345/0.1464, allocations: 0.6057 MB / 0.6629 GB, free: 5.395 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001583/0.148, allocations: 1.429 MB / 0.6643 GB, free: 3.961 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003997/0.1484, allocations: 228.3 kB / 0.6645 GB, free: 3.727 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007383/0.1491, allocations: 0.5952 MB / 0.6651 GB, free: 3.129 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000847/0.15, allocations: 0.7349 MB / 0.6658 GB, free: 2.391 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.1501, allocations: 108 kB / 0.6659 GB, free: 2.285 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004691/0.1506, allocations: 235.9 kB / 0.6661 GB, free: 2.055 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.1509, allocations: 278.8 kB / 0.6664 GB, free: 1.781 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005583/0.1514, allocations: 0.6251 MB / 0.667 GB, free: 1.152 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.1531, allocations: 1.528 MB / 0.6685 GB, free: 15.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1531, allocations: 0 / 0.6685 GB, free: 15.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1531, allocations: 0 / 0.6685 GB, free: 15.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.1531, allocations: 0 / 0.6685 GB, free: 15.62 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007906/0.161, allocations: 2.605 MB / 0.671 GB, free: 12.95 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1611, allocations: 11.98 kB / 0.6711 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.1613, allocations: 130.8 kB / 0.6712 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004949/0.1662, allocations: 0.7912 MB / 0.672 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.1676, allocations: 0.7812 MB / 0.6727 GB, free: 11.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003015/0.1679, allocations: 264.1 kB / 0.673 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.168, allocations: 76 kB / 0.673 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/0.1704, allocations: 1.089 MB / 0.6741 GB, free: 9.715 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.1704, allocations: 0 / 0.6741 GB, free: 9.715 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/0.1705, allocations: 35.98 kB / 0.6741 GB, free: 9.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.1705, allocations: 20 kB / 0.6742 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/0.173, allocations: 1.12 MB / 0.6753 GB, free: 8.535 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.006286/0.1793, allocations: 3.445 MB / 0.6786 GB, free: 4.941 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.1816, allocations: 1.349 MB / 0.6799 GB, free: 3.473 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001614/0.1832, allocations: 0.7109 MB / 0.6806 GB, free: 2.762 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.1833, allocations: 20.98 kB / 0.6806 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.1833, allocations: 39.56 kB / 0.6807 GB, free: 2.695 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 3.136e-06/0.1833, allocations: 0 / 0.6807 GB, free: 2.695 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02505/0.2084, allocations: 6.579 MB / 0.6871 GB, free: 12.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.2084, allocations: 60.41 kB / 0.6872 GB, free: 12.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.2097, allocations: 0.8923 MB / 0.688 GB, free: 11.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002027/0.2099, allocations: 45.7 kB / 0.6881 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.2103, allocations: 497.3 kB / 0.6886 GB, free: 10.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004383/0.2108, allocations: 368.8 kB / 0.6889 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004132/0.2112, allocations: 210.9 kB / 0.6891 GB, free: 9.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2114, allocations: 357.9 kB / 0.6895 GB, free: 9.625 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.213, allocations: 0.7209 MB / 0.6902 GB, free: 8.906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.2148, allocations: 0.8696 MB / 0.691 GB, free: 8.004 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01884/0.2337, allocations: 4.85 MB / 0.6957 GB, free: 3.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.2337, allocations: 4 kB / 0.6957 GB, free: 3.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.2795/0.5132, allocations: 4.251 MB / 0.6999 GB, free: 40.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.5132, allocations: 6.281 kB / 0.6999 GB, free: 40.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.5132, allocations: 2.766 kB / 0.6999 GB, free: 40.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006268/0.5195, allocations: 1.721 MB / 0.7016 GB, free: 40.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.5207, allocations: 228.7 kB / 0.7018 GB, free: 40.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0223/0.543, allocations: 9.06 MB / 0.7107 GB, free: 37.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.5446, allocations: 180.8 kB / 0.7108 GB, free: 37.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.5448, allocations: 47.52 kB / 0.7109 GB, free: 37.63 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 (117): * Single equations (assignments): 116 * 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.0005431/0.5453, allocations: 247.3 kB / 0.7111 GB, free: 37.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.5456, allocations: 133.4 kB / 0.7112 GB, free: 37.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.5582, allocations: 3.973 MB / 0.7151 GB, free: 36.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.5582, allocations: 9.719 kB / 0.7151 GB, free: 36.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5582, allocations: 0 / 0.7151 GB, free: 36.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.5582, allocations: 7.016 kB / 0.7151 GB, free: 36.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0135/0.5717, allocations: 5.569 MB / 0.7206 GB, free: 34.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/0.5717, allocations: 0 / 0.7206 GB, free: 34.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008504/0.5726, allocations: 133.8 kB / 0.7207 GB, free: 34.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0057/0.5783, allocations: 1.741 MB / 0.7224 GB, free: 34.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002247/0.5785, allocations: 16.59 kB / 0.7224 GB, free: 34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01582/0.5943, allocations: 8.063 MB / 0.7303 GB, free: 28.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5943, allocations: 6.562 kB / 0.7303 GB, free: 28.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/0.6069, allocations: 4.922 MB / 0.7351 GB, free: 26.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003846/0.6073, allocations: 216.7 kB / 0.7353 GB, free: 26.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.6075, allocations: 19.81 kB / 0.7353 GB, free: 26.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009336/0.6084, allocations: 103.5 kB / 0.7354 GB, free: 26.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006576/0.6091, allocations: 219.5 kB / 0.7356 GB, free: 26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-05/0.6091, allocations: 23.75 kB / 0.7357 GB, free: 26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006143/0.6098, allocations: 0.6018 MB / 0.7362 GB, free: 25.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6098, allocations: 0 / 0.7362 GB, free: 25.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00117/0.6109, allocations: 442 kB / 0.7367 GB, free: 25.14 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 (65): * Single equations (assignments): 64 * 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.01287/0.6238, allocations: 5.514 MB / 0.742 GB, free: 19.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005867/0.6297, allocations: 2.364 MB / 0.7444 GB, free: 17.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.6297, allocations: 4 kB / 0.7444 GB, free: 17.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004075/0.6337, allocations: 1.523 MB / 0.7458 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007521/0.6345, allocations: 92.34 kB / 0.7459 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0321/0.6666, allocations: 15.35 MB / 0.7609 GB, free: 96 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008768/0.6675, allocations: 1.099 MB / 0.762 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004884/0.668, allocations: 94.75 kB / 0.7621 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006378/0.6686, allocations: 443.2 kB / 0.7625 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of SimCode: time 1.733e-06/0.6686, allocations: 0 / 0.7625 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07439/0.743, allocations: 33.87 MB / 0.7956 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.97/17.71, allocations: 4.703 kB / 0.7956 GB, free: 12.65 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.124889256898314] Failed to read output from testmodel.py, exit status != 0: 17.82111704815179 17.835659856 17.679701749 Calling exit ...