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.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.001426/0.001426, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.441/1.441, allocations: 230.6 MB / 253.4 MB, free: 14.5 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.00171/0.00171, allocations: 214.5 kB / 310 MB, free: 3.113 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.4984/0.4984, allocations: 79.73 MB / 446.2 MB, free: 38.73 MB / 350.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,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="cs",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.002363/0.002363, allocations: 80.98 kB / 0.5937 GB, free: 38.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1196, allocations: 73.3 MB / 0.6653 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006576/0.1262, allocations: 5.853 MB / 0.671 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004188/0.1304, allocations: 1.8 MB / 0.6727 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007594/0.1311, allocations: 8 kB / 0.6728 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.1317, allocations: 206.3 kB / 0.673 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.1335, allocations: 0.7457 MB / 0.6737 GB, free: 9.555 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.001239/0.1347, allocations: 0.5683 MB / 0.6742 GB, free: 8.992 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.1362, allocations: 1.264 MB / 0.6755 GB, free: 7.723 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.1365, allocations: 187.6 kB / 0.6756 GB, free: 7.527 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007273/0.1373, allocations: 0.5446 MB / 0.6762 GB, free: 6.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007821/0.1381, allocations: 0.6494 MB / 0.6768 GB, free: 6.328 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.1382, allocations: 88 kB / 0.6769 GB, free: 6.242 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004762/0.1387, allocations: 235.9 kB / 0.6771 GB, free: 6.012 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.1389, allocations: 250.8 kB / 0.6774 GB, free: 5.766 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.1394, allocations: 0.5398 MB / 0.6779 GB, free: 5.223 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.141, allocations: 1.377 MB / 0.6792 GB, free: 3.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.141, allocations: 4 kB / 0.6792 GB, free: 3.836 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.141, allocations: 0 / 0.6792 GB, free: 3.836 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.141, allocations: 0 / 0.6792 GB, free: 3.836 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.007756/0.1487, allocations: 2.325 MB / 0.6815 GB, free: 1.477 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1488, allocations: 8.031 kB / 0.6815 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.227e-05/0.1488, allocations: 17.31 kB / 0.6815 GB, free: 1.449 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.149, allocations: 118.5 kB / 0.6816 GB, free: 1.324 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004992/0.154, allocations: 0.768 MB / 0.6824 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.1553, allocations: 0.6414 MB / 0.683 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.1556, allocations: 307.5 kB / 0.6833 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.1558, allocations: 71.94 kB / 0.6834 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.158, allocations: 0.9638 MB / 0.6843 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.158, allocations: 0 / 0.6843 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.665e-05/0.1581, allocations: 24 kB / 0.6843 GB, free: 14.47 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.1581, allocations: 19.98 kB / 0.6844 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.1603, allocations: 0.976 MB / 0.6853 GB, free: 13.48 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.005722/0.166, allocations: 3.123 MB / 0.6884 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.168, allocations: 0.7776 MB / 0.6891 GB, free: 9.418 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.1694, allocations: 0.6329 MB / 0.6897 GB, free: 8.781 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.01e-05/0.1695, allocations: 12.94 kB / 0.6898 GB, free: 8.766 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.1695, allocations: 51.55 kB / 0.6898 GB, free: 8.707 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 2.465e-06/0.1695, allocations: 0 / 0.6898 GB, free: 8.707 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.0265/0.196, allocations: 6.373 MB / 0.696 GB, free: 2.324 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.1961, allocations: 64.34 kB / 0.6961 GB, free: 2.246 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.1973, allocations: 0.7946 MB / 0.6969 GB, free: 1.441 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.1975, allocations: 37.7 kB / 0.6969 GB, free: 1.398 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/0.1979, allocations: 437.1 kB / 0.6973 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/0.1982, allocations: 321.2 kB / 0.6976 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003907/0.1986, allocations: 182.9 kB / 0.6978 GB, free: 476 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1988, allocations: 361.9 kB / 0.6981 GB, free: 108 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.2004, allocations: 0.6546 MB / 0.6988 GB, free: 15.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.202, allocations: 0.7796 MB / 0.6995 GB, free: 14.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01939/0.2214, allocations: 4.645 MB / 0.7041 GB, free: 9.961 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.2214, allocations: 0 / 0.7041 GB, free: 9.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01403/0.2354, allocations: 4.036 MB / 0.708 GB, free: 5.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.2355, allocations: 12 kB / 0.708 GB, free: 5.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.2355, allocations: 3.938 kB / 0.708 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006358/0.2418, allocations: 1.73 MB / 0.7097 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.2428, allocations: 195.7 kB / 0.7099 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02285/0.2657, allocations: 8.96 MB / 0.7187 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.2671, allocations: 159.2 kB / 0.7188 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.2672, allocations: 43.92 kB / 0.7189 GB, free: 10.68 MB / 0.4981 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 (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.0004762/0.2677, allocations: 225.7 kB / 0.7191 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.2679, allocations: 103.3 kB / 0.7192 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.2812, allocations: 3.79 MB / 0.7229 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.179e-05/0.2812, allocations: 11.98 kB / 0.7229 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2812, allocations: 0 / 0.7229 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.318e-05/0.2813, allocations: 3.984 kB / 0.7229 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/0.2972, allocations: 5.313 MB / 0.7281 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.2972, allocations: 0 / 0.7281 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/0.2978, allocations: 91.89 kB / 0.7282 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006364/0.3041, allocations: 1.741 MB / 0.7299 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.3043, allocations: 16 kB / 0.7299 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02061/0.3249, allocations: 7.953 MB / 0.7376 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3249, allocations: 4 kB / 0.7377 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01581/0.3407, allocations: 4.709 MB / 0.7423 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/0.3411, allocations: 119.1 kB / 0.7424 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/0.3415, allocations: 12 kB / 0.7424 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.3426, allocations: 99.83 kB / 0.7425 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006693/0.3433, allocations: 208.6 kB / 0.7427 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.3434, allocations: 20 kB / 0.7427 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007677/0.3441, allocations: 0.5341 MB / 0.7432 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.3441, allocations: 0 / 0.7432 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001332/0.3455, allocations: 407.7 kB / 0.7436 GB, free: 1.047 MB / 0.5137 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 (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.01579/0.3613, allocations: 5.288 MB / 0.7488 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007059/0.3683, allocations: 2.203 MB / 0.7509 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.3683, allocations: 0 / 0.7509 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004804/0.3731, allocations: 1.444 MB / 0.7523 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008634/0.374, allocations: 77.38 kB / 0.7524 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03809/0.4121, allocations: 14.13 MB / 0.7662 GB, free: 9.652 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.4128, allocations: 1.037 MB / 0.7672 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003703/0.4132, allocations: 78.31 kB / 0.7673 GB, free: 8.512 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000527/0.4137, allocations: 379.3 kB / 0.7677 GB, free: 8.141 MB / 0.545 GB Notification: Performance of SimCode: time 1.383e-06/0.4137, allocations: 0 / 0.7677 GB, free: 8.141 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07046/0.4841, allocations: 32.18 MB / 0.7991 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.42/16.9, allocations: 10.34 kB / 0.7991 GB, free: 8.082 MB / 0.5762 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: 20.85766965802759] Failed to read output from testmodel.py, exit status != 0: 17.088349496014416 17.332582708 17.189174803 Calling exit ...