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.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.001335/0.001335, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.431/1.431, allocations: 230.6 MB / 252.6 MB, free: 8.312 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: 205.6 kB / 309.2 MB, free: 3.156 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.4415/0.4415, allocations: 79.74 MB / 445.4 MB, free: 14.87 MB / 318.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.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_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: 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.002518/0.002518, allocations: 87.81 kB / 0.5929 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1295, allocations: 73.29 MB / 0.6645 GB, free: 4.586 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.007595/0.1371, allocations: 6.56 MB / 0.6709 GB, free: 14 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004038/0.1411, allocations: 1.974 MB / 0.6729 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005814/0.1417, allocations: 15.94 kB / 0.6729 GB, free: 12 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.1423, allocations: 230 kB / 0.6731 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.1442, allocations: 0.7887 MB / 0.6739 GB, free: 10.98 MB / 478.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.001488/0.1457, allocations: 0.6355 MB / 0.6745 GB, free: 10.35 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.1475, allocations: 1.444 MB / 0.6759 GB, free: 8.902 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004209/0.148, allocations: 236.8 kB / 0.6761 GB, free: 8.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008065/0.1488, allocations: 0.6107 MB / 0.6767 GB, free: 8.047 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009237/0.1497, allocations: 0.7388 MB / 0.6774 GB, free: 7.305 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.1499, allocations: 104 kB / 0.6775 GB, free: 7.203 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005352/0.1504, allocations: 259.8 kB / 0.6778 GB, free: 6.949 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.1507, allocations: 278.8 kB / 0.6781 GB, free: 6.676 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005672/0.1512, allocations: 0.6291 MB / 0.6787 GB, free: 6.043 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.153, allocations: 1.544 MB / 0.6802 GB, free: 4.492 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.153, allocations: 0 / 0.6802 GB, free: 4.492 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1531, allocations: 3.938 kB / 0.6802 GB, free: 4.488 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.444e-05/0.1531, allocations: 0 / 0.6802 GB, free: 4.488 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.008464/0.1615, allocations: 2.546 MB / 0.6827 GB, free: 1.902 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1616, allocations: 15.98 kB / 0.6827 GB, free: 1.887 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001715/0.1618, allocations: 130.8 kB / 0.6828 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005324/0.1671, allocations: 0.8225 MB / 0.6836 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.1687, allocations: 0.7247 MB / 0.6843 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004018/0.1691, allocations: 311.6 kB / 0.6846 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.1693, allocations: 76 kB / 0.6847 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.1718, allocations: 1.089 MB / 0.6857 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.1718, allocations: 0 / 0.6857 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.239e-05/0.1719, allocations: 28 kB / 0.6858 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.1719, allocations: 20 kB / 0.6858 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/0.1746, allocations: 1.124 MB / 0.6869 GB, free: 13.46 MB / 494.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.006403/0.181, allocations: 3.406 MB / 0.6902 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.1831, allocations: 0.9007 MB / 0.6911 GB, free: 9.008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.1847, allocations: 0.707 MB / 0.6918 GB, free: 8.293 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.1849, allocations: 9 kB / 0.6918 GB, free: 8.285 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.1849, allocations: 43.56 kB / 0.6918 GB, free: 8.234 MB / 494.1 MB Notification: Performance of pre-optimization done (n=98): time 2.816e-06/0.1849, allocations: 0 / 0.6918 GB, free: 8.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=98): time 0.02561/0.2105, allocations: 6.506 MB / 0.6982 GB, free: 1.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.2106, allocations: 64.41 kB / 0.6983 GB, free: 1.641 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001277/0.2119, allocations: 0.9008 MB / 0.6991 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.2121, allocations: 45.7 kB / 0.6992 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/0.2125, allocations: 0.4936 MB / 0.6997 GB, free: 176 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2326/0.4451, allocations: 364.2 kB / 0.7 GB, free: 33.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004276/0.4455, allocations: 205.9 kB / 0.7002 GB, free: 33.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.024e-05/0.4456, allocations: 352.5 kB / 0.7005 GB, free: 33.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.4471, allocations: 0.7263 MB / 0.7012 GB, free: 33.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.4487, allocations: 0.8609 MB / 0.7021 GB, free: 33.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01971/0.4684, allocations: 4.968 MB / 0.7069 GB, free: 32.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.4684, allocations: 7.375 kB / 0.7069 GB, free: 32.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0141/0.4825, allocations: 4.25 MB / 0.7111 GB, free: 32.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.4825, allocations: 5.75 kB / 0.7111 GB, free: 32.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.4825, allocations: 10.69 kB / 0.7111 GB, free: 32.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006475/0.489, allocations: 1.728 MB / 0.7128 GB, free: 32.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.4902, allocations: 230.1 kB / 0.713 GB, free: 32.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/0.5105, allocations: 8.967 MB / 0.7218 GB, free: 28.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.5119, allocations: 180.2 kB / 0.7219 GB, free: 27.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.512, allocations: 42.73 kB / 0.722 GB, free: 27.97 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.0004106/0.5124, allocations: 244.3 kB / 0.7222 GB, free: 27.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.5126, allocations: 125.6 kB / 0.7223 GB, free: 27.71 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/0.5249, allocations: 3.987 MB / 0.7262 GB, free: 26.51 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.5249, allocations: 11.64 kB / 0.7262 GB, free: 26.51 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5249, allocations: 1.031 kB / 0.7262 GB, free: 26.51 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.5249, allocations: 3.984 kB / 0.7263 GB, free: 26.51 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/0.5386, allocations: 5.541 MB / 0.7317 GB, free: 23.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.5387, allocations: 0 / 0.7317 GB, free: 23.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000777/0.5394, allocations: 139.1 kB / 0.7318 GB, free: 23.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005274/0.5447, allocations: 1.737 MB / 0.7335 GB, free: 22.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/0.5449, allocations: 15.88 kB / 0.7335 GB, free: 22.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01569/0.5606, allocations: 7.956 MB / 0.7413 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5606, allocations: 0 / 0.7413 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/0.5738, allocations: 4.93 MB / 0.7461 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.5741, allocations: 133.8 kB / 0.7462 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.5743, allocations: 19.39 kB / 0.7462 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009751/0.5752, allocations: 116.3 kB / 0.7463 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006091/0.5759, allocations: 228.5 kB / 0.7466 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.901e-05/0.5759, allocations: 29.67 kB / 0.7466 GB, free: 10.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005773/0.5765, allocations: 0.6012 MB / 0.7472 GB, free: 9.586 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5765, allocations: 0 / 0.7472 GB, free: 9.586 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001128/0.5776, allocations: 449 kB / 0.7476 GB, free: 9.16 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.01331/0.5909, allocations: 5.504 MB / 0.753 GB, free: 3.625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006081/0.597, allocations: 2.366 MB / 0.7553 GB, free: 1.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.597, allocations: 0.5625 kB / 0.7553 GB, free: 1.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004391/0.6014, allocations: 1.524 MB / 0.7568 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007978/0.6022, allocations: 96.28 kB / 0.7569 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03964/0.6419, allocations: 15.4 MB / 0.7719 GB, free: 76 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007939/0.6426, allocations: 1.099 MB / 0.773 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004542/0.6431, allocations: 95.06 kB / 0.7731 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006391/0.6437, allocations: 451.2 kB / 0.7735 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of SimCode: time 1.342e-06/0.6437, allocations: 3.938 kB / 0.7735 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07885/0.7226, allocations: 34.91 MB / 0.8076 GB, free: 11.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.43/19.15, allocations: 1.875 kB / 0.8076 GB, free: 11.65 MB / 0.545 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 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: 22.5789701759968] Failed to read output from testmodel.py, exit status != 0: 19.28470268700039 19.300638011 19.144363289 Calling exit ...