Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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.001556/0.001556, allocations: 108.6 kB / 16.46 MB, free: 6.035 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.401/1.401, 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.001495/0.001495, allocations: 191.5 kB / 299.8 MB, free: 9.816 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.4469/0.4469, allocations: 79.73 MB / 434.4 MB, free: 6.207 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_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 83.88 kB / 0.5784 GB, free: 9.949 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1228, allocations: 72.09 MB / 0.6488 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.00764/0.1305, allocations: 6.508 MB / 0.6551 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003881/0.1344, allocations: 1.888 MB / 0.657 GB, free: 9.32 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005279/0.1349, allocations: 12 kB / 0.657 GB, free: 9.309 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.1354, allocations: 218 kB / 0.6572 GB, free: 9.094 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.1372, allocations: 0.7697 MB / 0.658 GB, free: 8.32 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.00136/0.1385, allocations: 0.6094 MB / 0.6586 GB, free: 7.719 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.1402, allocations: 1.425 MB / 0.6599 GB, free: 6.289 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.1406, allocations: 240.3 kB / 0.6602 GB, free: 6.043 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007149/0.1413, allocations: 0.5912 MB / 0.6607 GB, free: 5.449 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008442/0.1422, allocations: 0.7388 MB / 0.6615 GB, free: 4.707 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.1423, allocations: 100 kB / 0.6616 GB, free: 4.609 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004696/0.1428, allocations: 239.9 kB / 0.6618 GB, free: 4.375 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.1431, allocations: 282.7 kB / 0.6621 GB, free: 4.098 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005564/0.1436, allocations: 0.6252 MB / 0.6627 GB, free: 3.469 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.1454, allocations: 1.525 MB / 0.6642 GB, free: 1.938 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1454, allocations: 0 / 0.6642 GB, free: 1.938 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1454, allocations: 0 / 0.6642 GB, free: 1.938 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.832e-05/0.1454, allocations: 0 / 0.6642 GB, free: 1.938 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008148/0.1536, allocations: 2.611 MB / 0.6667 GB, free: 15.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1536, allocations: 12.03 kB / 0.6667 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001657/0.1538, allocations: 126.8 kB / 0.6668 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00508/0.1588, allocations: 0.7913 MB / 0.6676 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.1602, allocations: 0.7773 MB / 0.6684 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003021/0.1605, allocations: 256.2 kB / 0.6686 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.1606, allocations: 83.95 kB / 0.6687 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002378/0.163, allocations: 1.085 MB / 0.6698 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.163, allocations: 0 / 0.6698 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.404e-05/0.1631, allocations: 32 kB / 0.6698 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.1632, allocations: 20 kB / 0.6698 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002618/0.1658, allocations: 1.124 MB / 0.6709 GB, free: 10.86 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.006196/0.172, allocations: 3.457 MB / 0.6743 GB, free: 7.254 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.1742, allocations: 1.338 MB / 0.6756 GB, free: 5.805 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.1758, allocations: 0.7109 MB / 0.6763 GB, free: 5.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.863e-05/0.1759, allocations: 9 kB / 0.6763 GB, free: 5.078 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.1759, allocations: 47.55 kB / 0.6763 GB, free: 5.023 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 2.525e-06/0.1759, allocations: 0 / 0.6763 GB, free: 5.023 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02597/0.2019, allocations: 6.579 MB / 0.6828 GB, free: 14.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.202, allocations: 64.41 kB / 0.6828 GB, free: 14.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.2032, allocations: 0.8884 MB / 0.6837 GB, free: 13.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.2033, allocations: 45.64 kB / 0.6837 GB, free: 13.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.2037, allocations: 0.5013 MB / 0.6842 GB, free: 12.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003877/0.2041, allocations: 364.9 kB / 0.6846 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000419/0.2045, allocations: 206.9 kB / 0.6848 GB, free: 12.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.2047, allocations: 349.9 kB / 0.6851 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/0.2065, allocations: 0.7326 MB / 0.6858 GB, free: 11.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.2083, allocations: 0.8579 MB / 0.6867 GB, free: 10.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01958/0.2279, allocations: 4.858 MB / 0.6914 GB, free: 5.438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.2279, allocations: 0 / 0.6914 GB, free: 5.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01408/0.242, allocations: 4.246 MB / 0.6955 GB, free: 1.176 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.242, allocations: 10.19 kB / 0.6956 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.242, allocations: 0 / 0.6956 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2492/0.4912, allocations: 1.728 MB / 0.6972 GB, free: 42.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.4924, allocations: 228.7 kB / 0.6975 GB, free: 42.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02048/0.5129, allocations: 9.06 MB / 0.7063 GB, free: 39.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.5143, allocations: 188.3 kB / 0.7065 GB, free: 39.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.5144, allocations: 39.98 kB / 0.7065 GB, free: 39.96 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.0004049/0.5148, allocations: 250.8 kB / 0.7068 GB, free: 39.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.515, allocations: 126.1 kB / 0.7069 GB, free: 39.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.5283, allocations: 3.976 MB / 0.7108 GB, free: 38.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.5283, allocations: 11.56 kB / 0.7108 GB, free: 38.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5283, allocations: 2.812 kB / 0.7108 GB, free: 38.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.5284, allocations: 4.5 kB / 0.7108 GB, free: 38.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/0.5422, allocations: 5.569 MB / 0.7162 GB, free: 37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.5422, allocations: 0 / 0.7162 GB, free: 37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007062/0.5429, allocations: 141.3 kB / 0.7164 GB, free: 36.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005501/0.5484, allocations: 1.733 MB / 0.7181 GB, free: 36.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.5485, allocations: 21.08 kB / 0.7181 GB, free: 36.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01645/0.565, allocations: 8.054 MB / 0.7259 GB, free: 32.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.565, allocations: 0 / 0.7259 GB, free: 32.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/0.578, allocations: 4.932 MB / 0.7308 GB, free: 30.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.5783, allocations: 217.3 kB / 0.731 GB, free: 29.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.5785, allocations: 19.92 kB / 0.731 GB, free: 29.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009608/0.5794, allocations: 103.8 kB / 0.7311 GB, free: 29.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006378/0.5801, allocations: 223.2 kB / 0.7313 GB, free: 29.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.848e-05/0.5801, allocations: 28.06 kB / 0.7313 GB, free: 29.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005765/0.5807, allocations: 0.5925 MB / 0.7319 GB, free: 29.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5807, allocations: 0 / 0.7319 GB, free: 29.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00107/0.5818, allocations: 445.5 kB / 0.7323 GB, free: 29.15 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.01333/0.5951, allocations: 5.521 MB / 0.7377 GB, free: 23.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005876/0.601, allocations: 2.355 MB / 0.74 GB, free: 21.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.601, allocations: 0 / 0.74 GB, free: 21.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004063/0.6051, allocations: 1.532 MB / 0.7415 GB, free: 19.71 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/0.6057, allocations: 84.42 kB / 0.7416 GB, free: 19.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03234/0.6381, allocations: 15.36 MB / 0.7566 GB, free: 4.098 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.6384, allocations: 1.099 MB / 0.7577 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003429/0.6388, allocations: 92.59 kB / 0.7578 GB, free: 2.875 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/0.6392, allocations: 443.3 kB / 0.7582 GB, free: 2.441 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6392, allocations: 4 kB / 0.7582 GB, free: 2.438 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07482/0.714, allocations: 33.84 MB / 0.7912 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.34/18.05, allocations: 7.938 kB / 0.7912 GB, free: 0.75 MB / 0.5137 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.488971799612045] Failed to read output from testmodel.py, exit status != 0: 18.16389726102352 18.189144303 18.039078794 Calling exit ...