Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08671/0.08671, allocations: 12.36 MB / 31.21 MB, free: 6.41 MB / 26.18 MB " [Timeout remaining time 180] 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.001265/0.001265, allocations: 109 kB / 37.25 MB, free: 1.098 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 207.7 MB / 250.9 MB, free: 7.266 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.001997/0.001997, allocations: 212.4 kB / 306.1 MB, free: 292 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3254/0.3254, allocations: 79.72 MB / 440.9 MB, free: 12.26 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENROU,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.004225/0.004225, allocations: 145.1 kB / 0.5875 GB, free: 9.34 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1489, allocations: 71.97 MB / 0.6578 GB, free: 1.297 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENROU): time 0.2685/0.4174, allocations: 6.362 MB / 0.664 GB, free: 7.633 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004791/0.4222, allocations: 2.171 MB / 0.6661 GB, free: 6.746 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.4234, allocations: 12.94 kB / 0.6661 GB, free: 6.746 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006694/0.424, allocations: 278.5 kB / 0.6664 GB, free: 6.598 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.4273, allocations: 1.162 MB / 0.6675 GB, free: 5.883 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.4287, allocations: 0.5807 MB / 0.6681 GB, free: 5.609 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002815/0.4315, allocations: 1.964 MB / 0.67 GB, free: 4.688 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004337/0.4319, allocations: 216.9 kB / 0.6702 GB, free: 4.555 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.4331, allocations: 0.7732 MB / 0.671 GB, free: 4.188 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.4344, allocations: 0.904 MB / 0.6719 GB, free: 3.824 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.4347, allocations: 147.3 kB / 0.672 GB, free: 3.824 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007246/0.4354, allocations: 325.8 kB / 0.6723 GB, free: 3.773 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.4357, allocations: 385.1 kB / 0.6727 GB, free: 3.527 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005351/0.4362, allocations: 0.6401 MB / 0.6733 GB, free: 3.148 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.4383, allocations: 1.941 MB / 0.6752 GB, free: 2.301 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4383, allocations: 3 kB / 0.6752 GB, free: 2.301 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4383, allocations: 0 / 0.6752 GB, free: 2.301 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.94e-05/0.4383, allocations: 0 / 0.6752 GB, free: 2.301 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.01239/0.4507, allocations: 3.413 MB / 0.6785 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4507, allocations: 10.69 kB / 0.6785 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/0.4509, allocations: 132.3 kB / 0.6787 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00461/0.4555, allocations: 0.7355 MB / 0.6794 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.4571, allocations: 0.8945 MB / 0.6803 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004545/0.4576, allocations: 463.3 kB / 0.6807 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.4578, allocations: 94.11 kB / 0.6808 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/0.4605, allocations: 1.24 MB / 0.682 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.4605, allocations: 0.6562 kB / 0.682 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.4606, allocations: 33.53 kB / 0.682 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.4606, allocations: 19.69 kB / 0.6821 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002853/0.4635, allocations: 1.177 MB / 0.6832 GB, free: 14.77 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.008454/0.4719, allocations: 3.13 MB / 0.6863 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007838/0.4798, allocations: 2.151 MB / 0.6884 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002065/0.4818, allocations: 0.7582 MB / 0.6891 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.482, allocations: 21.48 kB / 0.6891 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.482, allocations: 45.03 kB / 0.6892 GB, free: 11.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=111): time 2.895e-06/0.482, allocations: 0 / 0.6892 GB, free: 11.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=111): time 0.04247/0.5245, allocations: 9.718 MB / 0.6987 GB, free: 6.863 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.5246, allocations: 92.8 kB / 0.6987 GB, free: 6.766 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.5266, allocations: 1.16 MB / 0.6999 GB, free: 6.121 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003622/0.5269, allocations: 50.42 kB / 0.6999 GB, free: 6.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/0.5274, allocations: 0.519 MB / 0.7004 GB, free: 5.605 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005663/0.528, allocations: 428.8 kB / 0.7008 GB, free: 5.234 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006061/0.5286, allocations: 288.6 kB / 0.7011 GB, free: 5.066 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.5287, allocations: 310.5 kB / 0.7014 GB, free: 4.762 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/0.5309, allocations: 0.8824 MB / 0.7023 GB, free: 4.324 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.5333, allocations: 1.067 MB / 0.7033 GB, free: 3.703 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004331/0.5376, allocations: 1.922 MB / 0.7052 GB, free: 2.641 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.5376, allocations: 1.125 kB / 0.7052 GB, free: 2.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01782/0.5554, allocations: 5.109 MB / 0.7102 GB, free: 13.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/0.5555, allocations: 8 kB / 0.7102 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.5555, allocations: 4 kB / 0.7102 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/0.5657, allocations: 2.626 MB / 0.7128 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.5671, allocations: 255.6 kB / 0.713 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007144/0.5743, allocations: 2.69 MB / 0.7156 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.5767, allocations: 218.9 kB / 0.7158 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.5769, allocations: 51.98 kB / 0.7159 GB, free: 7.676 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (150): * Single equations (assignments): 149 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006757/0.5776, allocations: 261.5 kB / 0.7161 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/0.5779, allocations: 151 kB / 0.7163 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/0.5944, allocations: 4.571 MB / 0.7208 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-05/0.5945, allocations: 12 kB / 0.7208 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.5945, allocations: 0.5 kB / 0.7208 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.423e-05/0.5945, allocations: 3.984 kB / 0.7208 GB, free: 2.652 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.01923/0.6137, allocations: 5.694 MB / 0.7263 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.6137, allocations: 4 kB / 0.7263 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007641/0.6145, allocations: 112.7 kB / 0.7264 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007804/0.6223, allocations: 2.135 MB / 0.7285 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002742/0.6226, allocations: 27.98 kB / 0.7285 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02701/0.6496, allocations: 9.717 MB / 0.738 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6496, allocations: 0 / 0.738 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01869/0.6683, allocations: 5.719 MB / 0.7436 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007307/0.669, allocations: 172.1 kB / 0.7438 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000616/0.6696, allocations: 24 kB / 0.7438 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.6714, allocations: 103.9 kB / 0.7439 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008914/0.6723, allocations: 253 kB / 0.7442 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/0.6724, allocations: 28 kB / 0.7442 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001565/0.674, allocations: 0.7804 MB / 0.7449 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.674, allocations: 0 / 0.7449 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002037/0.676, allocations: 499.7 kB / 0.7454 GB, free: 9.211 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gENCLS.omega) * 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 (68): * Single equations (assignments): 67 * 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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01929/0.6953, allocations: 6.293 MB / 0.7516 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008827/0.7042, allocations: 2.508 MB / 0.754 GB, free: 380 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.7042, allocations: 0 / 0.754 GB, free: 380 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006366/0.7105, allocations: 1.757 MB / 0.7557 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.7119, allocations: 108.7 kB / 0.7558 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0444/0.7563, allocations: 17.07 MB / 0.7725 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.7569, allocations: 0.5487 MB / 0.773 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005745/0.7575, allocations: 116.5 kB / 0.7732 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007826/0.7583, allocations: 0.4954 MB / 0.7736 GB, free: 12.03 MB / 0.545 GB Notification: Performance of SimCode: time 1.362e-06/0.7583, allocations: 0 / 0.7736 GB, free: 12.03 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09646/0.8547, allocations: 40.36 MB / 0.8131 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.86, allocations: 12.06 kB / 0.8131 GB, free: 3.625 MB / 0.5762 GB " [Timeout remaining time 645] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENROU.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENROU.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.444860354065895] Failed to read output from testmodel.py, exit status != 0: 15.000376902054995 15.025216985 14.582293417 Calling exit ...