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.001443/0.001443, allocations: 79.42 kB / 19.76 MB, free: 2.031 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.39/1.39, allocations: 177.2 MB / 200.1 MB, free: 8.344 MB / 190.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.001696/0.001696, allocations: 161.2 kB / 256.6 MB, free: 4.293 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.4521/0.4521, allocations: 59.75 MB / 372.7 MB, free: 46.9 MB / 334.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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") [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.002615/0.002615, allocations: 84.59 kB / 0.5224 GB, free: 29.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1157, allocations: 73.29 MB / 0.5939 GB, free: 15 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.007537/0.1232, allocations: 5.728 MB / 0.5995 GB, free: 9.238 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003933/0.1271, allocations: 1.888 MB / 0.6014 GB, free: 7.344 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004941/0.1276, allocations: 15.94 kB / 0.6014 GB, free: 7.328 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005266/0.1281, allocations: 218 kB / 0.6016 GB, free: 7.113 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.1299, allocations: 0.7587 MB / 0.6024 GB, free: 6.352 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.001426/0.1313, allocations: 0.6384 MB / 0.603 GB, free: 5.719 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.133, allocations: 1.437 MB / 0.6044 GB, free: 4.277 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004089/0.1334, allocations: 220.8 kB / 0.6046 GB, free: 4.047 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007867/0.1342, allocations: 0.6184 MB / 0.6052 GB, free: 3.426 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008708/0.1351, allocations: 0.6763 MB / 0.6059 GB, free: 2.746 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.1353, allocations: 100 kB / 0.6059 GB, free: 2.648 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004931/0.1358, allocations: 243.9 kB / 0.6062 GB, free: 2.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.136, allocations: 286.7 kB / 0.6065 GB, free: 2.129 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005119/0.1365, allocations: 0.5049 MB / 0.6069 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.1383, allocations: 1.564 MB / 0.6085 GB, free: 52 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1383, allocations: 0 / 0.6085 GB, free: 52 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1383, allocations: 0 / 0.6085 GB, free: 52 kB / 462.1 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.1383, allocations: 0 / 0.6085 GB, free: 52 kB / 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.008441/0.1467, allocations: 2.546 MB / 0.611 GB, free: 13.46 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1468, allocations: 15.98 kB / 0.611 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005406/0.1522, allocations: 0.8225 MB / 0.6118 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.1536, allocations: 0.7247 MB / 0.6125 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003638/0.1539, allocations: 315.6 kB / 0.6128 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.1541, allocations: 76 kB / 0.6129 GB, free: 11.42 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.1565, allocations: 1.077 MB / 0.6139 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.1565, allocations: 7.938 kB / 0.6139 GB, free: 10.33 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-05/0.1566, allocations: 28 kB / 0.6139 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.1566, allocations: 24 kB / 0.614 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.1592, allocations: 1.113 MB / 0.6151 GB, free: 9.164 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.005708/0.1649, allocations: 2.522 MB / 0.6175 GB, free: 6.613 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.1671, allocations: 0.8857 MB / 0.6184 GB, free: 5.723 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.1688, allocations: 0.7031 MB / 0.6191 GB, free: 5.016 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.683e-05/0.1689, allocations: 13 kB / 0.6191 GB, free: 5.004 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/0.1689, allocations: 43.56 kB / 0.6191 GB, free: 4.953 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 3.317e-06/0.1689, allocations: 0 / 0.6191 GB, free: 4.953 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02712/0.1961, allocations: 6.509 MB / 0.6255 GB, free: 14.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.1961, allocations: 60.41 kB / 0.6255 GB, free: 14.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.1974, allocations: 0.8884 MB / 0.6264 GB, free: 13.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.1976, allocations: 45.7 kB / 0.6264 GB, free: 13.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000475/0.198, allocations: 0.5053 MB / 0.6269 GB, free: 12.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004542/0.1985, allocations: 368.8 kB / 0.6273 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004388/0.1989, allocations: 202.9 kB / 0.6275 GB, free: 12.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1991, allocations: 353.9 kB / 0.6278 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.201, allocations: 0.7248 MB / 0.6285 GB, free: 11.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/0.2029, allocations: 0.8541 MB / 0.6294 GB, free: 10.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02123/0.2241, allocations: 4.936 MB / 0.6342 GB, free: 5.387 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.2242, allocations: 4 kB / 0.6342 GB, free: 5.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01548/0.2396, allocations: 4.25 MB / 0.6383 GB, free: 1.117 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.21e-05/0.2397, allocations: 8 kB / 0.6383 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.2397, allocations: 3.938 kB / 0.6384 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006711/0.2464, allocations: 1.722 MB / 0.64 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.2477, allocations: 227.6 kB / 0.6403 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02352/0.2713, allocations: 8.749 MB / 0.6488 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.2729, allocations: 175.2 kB / 0.649 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/0.2731, allocations: 43.98 kB / 0.649 GB, free: 6.074 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 (113): * Single equations (assignments): 112 * 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.0005919/0.2737, allocations: 242 kB / 0.6492 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/0.274, allocations: 127.2 kB / 0.6494 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/0.2887, allocations: 3.983 MB / 0.6532 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.2888, allocations: 8 kB / 0.6533 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2888, allocations: 0 / 0.6533 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.582e-05/0.2888, allocations: 7.969 kB / 0.6533 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/0.3058, allocations: 4.871 MB / 0.658 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.3059, allocations: 0 / 0.658 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008954/0.3068, allocations: 135.7 kB / 0.6581 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006673/0.3134, allocations: 1.741 MB / 0.6598 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/0.3136, allocations: 19.98 kB / 0.6599 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/0.3346, allocations: 7.735 MB / 0.6674 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3346, allocations: 3.938 kB / 0.6674 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01731/0.3519, allocations: 4.922 MB / 0.6722 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.3522, allocations: 138.9 kB / 0.6724 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.3525, allocations: 23.92 kB / 0.6724 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.3537, allocations: 107.9 kB / 0.6725 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007668/0.3544, allocations: 228.6 kB / 0.6727 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.3545, allocations: 24 kB / 0.6727 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000912/0.3555, allocations: 0.593 MB / 0.6733 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.3555, allocations: 0 / 0.6733 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001392/0.3568, allocations: 435.7 kB / 0.6737 GB, free: 12.55 MB / 0.5294 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.0003059/0.3572, allocations: 139 kB / 0.6739 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007586/0.3647, allocations: 2.35 MB / 0.6762 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3647, allocations: 0 / 0.6762 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005344/0.3701, allocations: 1.534 MB / 0.6776 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009175/0.371, allocations: 88.42 kB / 0.6777 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.3752, allocations: 2.106 MB / 0.6798 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005959/0.3758, allocations: 0.5059 MB / 0.6803 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004199/0.3762, allocations: 90.75 kB / 0.6804 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.3766, allocations: 68.48 kB / 0.6804 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/0.3766, allocations: 4 kB / 0.6804 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of Templates: time 0.04166/0.4182, allocations: 24.51 MB / 0.7044 GB, free: 13.07 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile [Timeout 660] (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 & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.515788738033734] Failed to read output from testmodel.py, exit status != 0: 0.42650055699050426 0.660002863 0.30163530800000005 Calling exit ...