Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.0007991/0.0007991, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8501/0.8501, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001133/0.001133, allocations: 160.2 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2751/0.2751, allocations: 80.35 MB / 392.7 MB, free: 3.535 MB / 362.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.555 GB, free: 232 kB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.168e-05, allocations: 2.281 kB / 0.555 GB, free: 228 kB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.004311/0.004323, allocations: 5.503 MB / 0.5604 GB, free: 10.7 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.006387, allocations: 1.822 MB / 0.5621 GB, free: 8.871 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002476/0.006635, allocations: 16 kB / 0.5622 GB, free: 8.855 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.00696, allocations: 218 kB / 0.5624 GB, free: 8.641 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.008021, allocations: 0.804 MB / 0.5631 GB, free: 7.836 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.008682, allocations: 0.5943 MB / 0.5637 GB, free: 7.25 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000865/0.009547, allocations: 1.42 MB / 0.5651 GB, free: 5.824 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004679/0.01001, allocations: 192.3 kB / 0.5653 GB, free: 5.629 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/0.01061, allocations: 0.822 MB / 0.5661 GB, free: 4.805 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.01106, allocations: 0.6152 MB / 0.5667 GB, free: 4.188 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.635e-05/0.01115, allocations: 104 kB / 0.5668 GB, free: 4.086 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.01142, allocations: 243.8 kB / 0.567 GB, free: 3.848 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.01157, allocations: 298.7 kB / 0.5673 GB, free: 3.555 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002409/0.01181, allocations: 422.5 kB / 0.5677 GB, free: 3.141 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009648/0.01278, allocations: 1.546 MB / 0.5692 GB, free: 1.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.01278, allocations: 0 / 0.5692 GB, free: 1.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01278, allocations: 0 / 0.5692 GB, free: 1.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.01279, allocations: 0 / 0.5692 GB, free: 1.59 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004162/0.01695, allocations: 2.459 MB / 0.5716 GB, free: 15.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.01699, allocations: 8.031 kB / 0.5716 GB, free: 15.08 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.0171, allocations: 118.5 kB / 0.5718 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/0.01957, allocations: 0.7757 MB / 0.5725 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008284/0.0204, allocations: 0.7256 MB / 0.5732 GB, free: 13.42 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.02059, allocations: 363 kB / 0.5736 GB, free: 13 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.0207, allocations: 83.89 kB / 0.5736 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.02216, allocations: 1.182 MB / 0.5748 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.02217, allocations: 0 / 0.5748 GB, free: 11.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.57e-05/0.02223, allocations: 32 kB / 0.5748 GB, free: 11.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.02225, allocations: 19.94 kB / 0.5748 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.02346, allocations: 0.942 MB / 0.5758 GB, free: 10.72 MB / 458.7 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.003347/0.02681, allocations: 2.741 MB / 0.5784 GB, free: 7.902 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003832/0.03064, allocations: 1.928 MB / 0.5803 GB, free: 5.949 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007551/0.03139, allocations: 0.5931 MB / 0.5809 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.978e-05/0.03146, allocations: 16.53 kB / 0.5809 GB, free: 5.336 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.03149, allocations: 47.22 kB / 0.581 GB, free: 5.281 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 1.974e-06/0.03149, allocations: 0 / 0.581 GB, free: 5.281 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.01394/0.04543, allocations: 6.689 MB / 0.5875 GB, free: 14.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.04549, allocations: 101.6 kB / 0.5876 GB, free: 14.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007513/0.04624, allocations: 0.9696 MB / 0.5885 GB, free: 13.46 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.939e-05/0.0463, allocations: 41.7 kB / 0.5886 GB, free: 13.42 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.04652, allocations: 465.4 kB / 0.589 GB, free: 12.96 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.04671, allocations: 325.3 kB / 0.5893 GB, free: 12.64 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.04697, allocations: 259.4 kB / 0.5896 GB, free: 12.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.04706, allocations: 353.9 kB / 0.5899 GB, free: 12.03 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008576/0.04792, allocations: 0.691 MB / 0.5906 GB, free: 11.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009413/0.04886, allocations: 0.8744 MB / 0.5915 GB, free: 10.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/0.0602, allocations: 5.224 MB / 0.5966 GB, free: 5.125 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.0602, allocations: 0 / 0.5966 GB, free: 5.125 MB / 474.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.007062/0.06726, allocations: 4.079 MB / 0.6005 GB, free: 1.031 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.06728, allocations: 9.719 kB / 0.6005 GB, free: 1.023 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.06729, allocations: 4 kB / 0.6006 GB, free: 1.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002776/0.07007, allocations: 1.523 MB / 0.602 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.0706, allocations: 239.6 kB / 0.6023 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/0.08167, allocations: 7.988 MB / 0.6101 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007038/0.08237, allocations: 171.2 kB / 0.6102 GB, free: 6.969 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/0.08244, allocations: 51.98 kB / 0.6103 GB, free: 6.918 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * 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): 1 system {(19,12,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003902/0.08283, allocations: 262.4 kB / 0.6105 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005157/0.08335, allocations: 349.4 kB / 0.6109 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006099/0.08945, allocations: 3.553 MB / 0.6143 GB, free: 2.738 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.08945, allocations: 15.94 kB / 0.6143 GB, free: 2.723 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.08946, allocations: 8 kB / 0.6144 GB, free: 2.715 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.08947, allocations: 3.984 kB / 0.6144 GB, free: 2.711 MB / 490.7 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.177/0.2665, allocations: 4.656 MB / 0.6189 GB, free: 67.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.2665, allocations: 0 / 0.6189 GB, free: 67.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.2669, allocations: 113.6 kB / 0.619 GB, free: 67.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00302/0.2699, allocations: 1.569 MB / 0.6205 GB, free: 67.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.959e-05/0.27, allocations: 21.41 kB / 0.6206 GB, free: 67.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/0.2808, allocations: 10.38 MB / 0.6307 GB, free: 61.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2808, allocations: 1.688 kB / 0.6307 GB, free: 61.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007577/0.2883, allocations: 4.578 MB / 0.6352 GB, free: 60.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.2886, allocations: 142.9 kB / 0.6353 GB, free: 60.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.883e-05/0.2887, allocations: 20.59 kB / 0.6353 GB, free: 60.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/0.2891, allocations: 84.91 kB / 0.6354 GB, free: 60.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/0.2894, allocations: 186.9 kB / 0.6356 GB, free: 60.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.2895, allocations: 25.66 kB / 0.6356 GB, free: 60.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005247/0.29, allocations: 0.639 MB / 0.6362 GB, free: 60.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.29, allocations: 1.062 kB / 0.6362 GB, free: 60.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009954/0.291, allocations: 442.8 kB / 0.6367 GB, free: 60.22 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007544/0.2985, allocations: 5.176 MB / 0.6417 GB, free: 58.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002901/0.3014, allocations: 2.153 MB / 0.6438 GB, free: 57.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3014, allocations: 0.9844 kB / 0.6438 GB, free: 57.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00177/0.3032, allocations: 1.251 MB / 0.645 GB, free: 57.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007278/0.3039, allocations: 346.2 kB / 0.6454 GB, free: 57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/0.3213, allocations: 14.72 MB / 0.6597 GB, free: 43.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.3215, allocations: 489.9 kB / 0.6602 GB, free: 42.67 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000196/0.3217, allocations: 106.1 kB / 0.6603 GB, free: 42.56 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.322, allocations: 440.3 kB / 0.6607 GB, free: 42.13 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/0.322, allocations: 0 / 0.6607 GB, free: 42.13 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/0.3592, allocations: 34.52 MB / 0.6944 GB, free: 7.887 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.553/8.912, allocations: 8.062 kB / 0.6945 GB, free: 7.879 MB / 490.7 MB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete_fmu --startTime=0 --stopTime=20 --stepSize=0.01 --timeout=50 --tolerance=0.001 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.153864675201476] Failed to read output from testmodel.py, exit status != 0: 9.015525226481259 9.021904796 9.007667491 Calling exit ...