Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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.001339/0.001339, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.458/1.458, allocations: 230.6 MB / 252.7 MB, free: 14.26 MB / 206.1 MB " [Timeout remaining time 178] 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.001595/0.001595, allocations: 213.8 kB / 309.2 MB, free: 3.09 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.62/0.62, allocations: 107.3 MB / 473 MB, free: 29.79 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002572, allocations: 98.47 kB / 0.6332 GB, free: 29.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1383, allocations: 80.17 MB / 0.7115 GB, free: 7.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.008007/0.1463, allocations: 5.759 MB / 0.7172 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004802/0.1511, allocations: 1.915 MB / 0.719 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007721/0.1519, allocations: 15.94 kB / 0.719 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006438/0.1525, allocations: 222 kB / 0.7193 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.1546, allocations: 0.7616 MB / 0.72 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.1566, allocations: 0.6371 MB / 0.7206 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002469/0.1591, allocations: 1.437 MB / 0.722 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004781/0.1596, allocations: 216.8 kB / 0.7222 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009346/0.1605, allocations: 0.6224 MB / 0.7228 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009111/0.1614, allocations: 0.6645 MB / 0.7235 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001993/0.1616, allocations: 100 kB / 0.7236 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006288/0.1622, allocations: 251.8 kB / 0.7238 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.1625, allocations: 282.8 kB / 0.7241 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005593/0.1631, allocations: 0.5126 MB / 0.7246 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.165, allocations: 1.564 MB / 0.7261 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.165, allocations: 0 / 0.7261 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.165, allocations: 0 / 0.7261 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.063e-05/0.1651, allocations: 0 / 0.7261 GB, free: 8.516 MB / 0.4981 GB 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.008409/0.1735, allocations: 2.557 MB / 0.7286 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1735, allocations: 8.031 kB / 0.7286 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001795/0.1737, allocations: 138.7 kB / 0.7288 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005424/0.1791, allocations: 0.8186 MB / 0.7296 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.1806, allocations: 0.721 MB / 0.7303 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000354/0.1809, allocations: 307.6 kB / 0.7306 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.1811, allocations: 83.95 kB / 0.7306 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/0.1836, allocations: 1.085 MB / 0.7317 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.1837, allocations: 0 / 0.7317 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.609e-05/0.1838, allocations: 36 kB / 0.7317 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.1838, allocations: 16 kB / 0.7317 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.1865, allocations: 1.117 MB / 0.7328 GB, free: 1.488 MB / 0.4981 GB 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.006364/0.1928, allocations: 2.647 MB / 0.7354 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.195, allocations: 0.8773 MB / 0.7363 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/0.1967, allocations: 0.707 MB / 0.737 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-05/0.1968, allocations: 9 kB / 0.737 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.1969, allocations: 43.56 kB / 0.737 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=98): time 3.357e-06/0.1969, allocations: 0 / 0.737 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98): time 0.02861/0.2255, allocations: 6.771 MB / 0.7436 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.2256, allocations: 60.41 kB / 0.7437 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.227, allocations: 0.9086 MB / 0.7446 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002202/0.2272, allocations: 45.7 kB / 0.7446 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004685/0.2276, allocations: 0.4936 MB / 0.7451 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004978/0.2281, allocations: 372.8 kB / 0.7455 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004345/0.2286, allocations: 202.9 kB / 0.7456 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.2288, allocations: 357.9 kB / 0.746 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/0.2306, allocations: 0.7286 MB / 0.7467 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.2325, allocations: 0.8657 MB / 0.7475 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02079/0.2533, allocations: 4.959 MB / 0.7524 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.2533, allocations: 0 / 0.7524 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01495/0.2682, allocations: 4.25 MB / 0.7565 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.2683, allocations: 8 kB / 0.7565 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.2683, allocations: 4 kB / 0.7566 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006515/0.2748, allocations: 1.722 MB / 0.7582 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.276, allocations: 231.7 kB / 0.7585 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02319/0.2992, allocations: 8.764 MB / 0.767 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.3008, allocations: 183.2 kB / 0.7672 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.3009, allocations: 43.98 kB / 0.7672 GB, free: 13.91 MB / 0.545 GB 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.0005255/0.3014, allocations: 242.7 kB / 0.7675 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.3017, allocations: 131.1 kB / 0.7676 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01423/0.3159, allocations: 3.975 MB / 0.7715 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.3159, allocations: 12 kB / 0.7715 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3159, allocations: 0 / 0.7715 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.576e-05/0.316, allocations: 7.969 kB / 0.7715 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/0.3323, allocations: 4.993 MB / 0.7764 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.3324, allocations: 0 / 0.7764 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/0.3332, allocations: 131.8 kB / 0.7765 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006432/0.3396, allocations: 1.737 MB / 0.7782 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002059/0.3398, allocations: 19.98 kB / 0.7782 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02008/0.3599, allocations: 7.76 MB / 0.7858 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3599, allocations: 4 kB / 0.7858 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01647/0.3764, allocations: 4.941 MB / 0.7906 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/0.3768, allocations: 134.9 kB / 0.7907 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.3769, allocations: 20 kB / 0.7908 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.378, allocations: 111.9 kB / 0.7909 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007057/0.3787, allocations: 220.6 kB / 0.7911 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.067e-05/0.3788, allocations: 28 kB / 0.7911 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008766/0.3797, allocations: 0.6012 MB / 0.7917 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3797, allocations: 0 / 0.7917 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001202/0.3809, allocations: 447.5 kB / 0.7921 GB, free: 4.188 MB / 0.5606 GB 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.01702/0.3979, allocations: 5.515 MB / 0.7975 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007777/0.4057, allocations: 2.371 MB / 0.7998 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.4057, allocations: 0 / 0.7998 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005295/0.411, allocations: 1.522 MB / 0.8013 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008261/0.4118, allocations: 94.55 kB / 0.8014 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3207/0.7325, allocations: 15.38 MB / 0.8164 GB, free: 94.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008332/0.7333, allocations: 0.5123 MB / 0.8169 GB, free: 94.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005346/0.7339, allocations: 88.59 kB / 0.817 GB, free: 94.08 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/0.7344, allocations: 455 kB / 0.8174 GB, free: 94.07 MB / 0.5762 GB Notification: Performance of SimCode: time 1.422e-06/0.7344, allocations: 0 / 0.8174 GB, free: 94.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07082/0.8053, allocations: 35.78 MB / 0.8524 GB, free: 72.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.65, allocations: 3.938 kB / 0.8524 GB, free: 72.7 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.53192434227094] Failed to read output from testmodel.py, exit status != 0: 14.786033453885466 14.796511978 14.629118896 Calling exit ...