Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.001514/0.001514, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.478/1.478, allocations: 230.6 MB / 250.5 MB, free: 9.391 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.001972/0.001972, allocations: 219.8 kB / 306.7 MB, free: 4.34 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.4625/0.4625, allocations: 79.71 MB / 442.5 MB, free: 216 kB / 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.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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",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.002796/0.002796, allocations: 79.88 kB / 0.5885 GB, free: 1.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1726, allocations: 73.26 MB / 0.6601 GB, free: 8.234 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.009616/0.1822, allocations: 6.74 MB / 0.6666 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005525/0.1877, allocations: 2.072 MB / 0.6687 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.1892, allocations: 12 kB / 0.6687 GB, free: 15.37 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.1905, allocations: 241.9 kB / 0.6689 GB, free: 15.13 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.1942, allocations: 0.8945 MB / 0.6698 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.1962, allocations: 0.6347 MB / 0.6704 GB, free: 13.61 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003161/0.1994, allocations: 1.674 MB / 0.672 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007296/0.2001, allocations: 226.5 kB / 0.6723 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.2017, allocations: 0.7159 MB / 0.673 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.2033, allocations: 0.8985 MB / 0.6738 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005009/0.2038, allocations: 132 kB / 0.674 GB, free: 9.945 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.2049, allocations: 287.9 kB / 0.6742 GB, free: 9.664 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006505/0.2056, allocations: 350.5 kB / 0.6746 GB, free: 9.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.207, allocations: 0.703 MB / 0.6753 GB, free: 8.613 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003569/0.2106, allocations: 1.758 MB / 0.677 GB, free: 6.848 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2106, allocations: 4 kB / 0.677 GB, free: 6.844 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2106, allocations: 0 / 0.677 GB, free: 6.844 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.072e-05/0.2106, allocations: 0 / 0.677 GB, free: 6.844 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.01189/0.2225, allocations: 2.851 MB / 0.6798 GB, free: 3.926 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.2226, allocations: 8.031 kB / 0.6798 GB, free: 3.918 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.941e-05/0.2227, allocations: 22 kB / 0.6798 GB, free: 3.895 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004225/0.2231, allocations: 126.7 kB / 0.6799 GB, free: 3.762 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005842/0.2289, allocations: 0.7952 MB / 0.6807 GB, free: 2.965 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.2314, allocations: 0.9422 MB / 0.6816 GB, free: 1.969 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004198/0.2318, allocations: 256.2 kB / 0.6818 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004804/0.2323, allocations: 88 kB / 0.6819 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003627/0.2359, allocations: 1.114 MB / 0.683 GB, free: 480 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.236, allocations: 3.984 kB / 0.683 GB, free: 476 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.2361, allocations: 31.98 kB / 0.6831 GB, free: 444 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.2362, allocations: 20 kB / 0.6831 GB, free: 424 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/0.239, allocations: 1.003 MB / 0.6841 GB, free: 15.41 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.01033/0.2494, allocations: 3.907 MB / 0.6879 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00844/0.2578, allocations: 2.329 MB / 0.6901 GB, free: 8.887 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.2597, allocations: 0.6332 MB / 0.6908 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/0.26, allocations: 16.98 kB / 0.6908 GB, free: 8.234 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002259/0.2622, allocations: 0.8489 MB / 0.6916 GB, free: 7.367 MB / 494.1 MB Notification: Performance of pre-optimization done (n=98): time 4.459e-06/0.2622, allocations: 0 / 0.6916 GB, free: 7.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=98): time 0.03142/0.2936, allocations: 7.047 MB / 0.6985 GB, free: 264 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.2937, allocations: 119.8 kB / 0.6986 GB, free: 120 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3392/0.6329, allocations: 1.135 MB / 0.6997 GB, free: 35.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003819/0.6333, allocations: 46.25 kB / 0.6998 GB, free: 35.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004024/0.6337, allocations: 0.5043 MB / 0.7002 GB, free: 35.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004472/0.6341, allocations: 385.7 kB / 0.7006 GB, free: 35.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005777/0.6347, allocations: 300.5 kB / 0.7009 GB, free: 35.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.325e-05/0.6348, allocations: 303.8 kB / 0.7012 GB, free: 35.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.6366, allocations: 0.7997 MB / 0.702 GB, free: 35.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002057/0.6387, allocations: 0.971 MB / 0.7029 GB, free: 34.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02924/0.6679, allocations: 6.14 MB / 0.7089 GB, free: 33.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-05/0.6679, allocations: 5.531 kB / 0.7089 GB, free: 33.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01701/0.685, allocations: 4.485 MB / 0.7133 GB, free: 32.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.557e-05/0.685, allocations: 60.25 kB / 0.7134 GB, free: 32.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.6851, allocations: 7.344 kB / 0.7134 GB, free: 32.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006915/0.692, allocations: 1.664 MB / 0.715 GB, free: 32.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.6937, allocations: 296.8 kB / 0.7153 GB, free: 32.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/0.7149, allocations: 8.642 MB / 0.7237 GB, free: 28.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/0.7172, allocations: 207.6 kB / 0.7239 GB, free: 28.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.7174, allocations: 57.67 kB / 0.724 GB, free: 28.06 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000716/0.7182, allocations: 305.4 kB / 0.7243 GB, free: 27.81 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/0.7185, allocations: 135.5 kB / 0.7244 GB, free: 27.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/0.7311, allocations: 3.898 MB / 0.7282 GB, free: 25.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.7311, allocations: 11.84 kB / 0.7282 GB, free: 25.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.7311, allocations: 3.938 kB / 0.7282 GB, free: 25.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/0.7311, allocations: 11.86 kB / 0.7282 GB, free: 25.98 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 postOpt removeSimpleEquations (simulation): time 0.01381/0.7449, allocations: 5.525 MB / 0.7336 GB, free: 22.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.7449, allocations: 4.031 kB / 0.7336 GB, free: 22.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007557/0.7457, allocations: 106.7 kB / 0.7337 GB, free: 22.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005121/0.7508, allocations: 1.596 MB / 0.7353 GB, free: 21.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002149/0.751, allocations: 27.92 kB / 0.7353 GB, free: 21.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01803/0.7691, allocations: 9.637 MB / 0.7447 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7691, allocations: 4 kB / 0.7447 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/0.7826, allocations: 4.788 MB / 0.7494 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005036/0.7832, allocations: 241.5 kB / 0.7496 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.7833, allocations: 20 kB / 0.7496 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.7845, allocations: 107.9 kB / 0.7497 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005774/0.7851, allocations: 192.7 kB / 0.7499 GB, free: 6.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.491e-05/0.7852, allocations: 31.98 kB / 0.75 GB, free: 6.375 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009429/0.7861, allocations: 0.7752 MB / 0.7507 GB, free: 5.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7861, allocations: 0 / 0.7507 GB, free: 5.594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001431/0.7876, allocations: 493.2 kB / 0.7512 GB, free: 5.125 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01378/0.8014, allocations: 5.374 MB / 0.7564 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007714/0.8091, allocations: 2.484 MB / 0.7589 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.8091, allocations: 0 / 0.7589 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004805/0.8139, allocations: 1.567 MB / 0.7604 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.815, allocations: 115.5 kB / 0.7605 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04402/0.8591, allocations: 16.78 MB / 0.7769 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008342/0.8599, allocations: 1.143 MB / 0.778 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006029/0.8605, allocations: 116.3 kB / 0.7781 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007164/0.8612, allocations: 497.2 kB / 0.7786 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of SimCode: time 7.92e-07/0.8612, allocations: 0 / 0.7786 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08016/0.9414, allocations: 36.12 MB / 0.8139 GB, free: 4.848 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.83/16.78, allocations: 11.67 kB / 0.8139 GB, free: 4.84 MB / 0.545 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.431145468959585] Failed to read output from testmodel.py, exit status != 0: 16.94736783800181 16.963505324 16.749200344 Calling exit ...