Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08662/0.08662, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 107.5 kB / 31.7 MB, free: 3.492 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.1 MB / 240.3 MB, free: 12.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 192.5 kB / 290.6 MB, free: 13.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4234/0.4234, allocations: 78.5 MB / 419.2 MB, free: 11.33 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.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.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 143.8 kB / 499.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2601, allocations: 68.11 MB / 0.5547 GB, free: 32.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.006374/0.2665, allocations: 7.037 MB / 0.5616 GB, free: 27.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.2703, allocations: 2.179 MB / 0.5637 GB, free: 25.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005917/0.2709, allocations: 9.625 kB / 0.5637 GB, free: 25.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005073/0.2714, allocations: 272 kB / 0.5639 GB, free: 25.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.2737, allocations: 1.152 MB / 0.5651 GB, free: 24.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.2748, allocations: 0.5694 MB / 0.5656 GB, free: 24.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001603/0.2764, allocations: 1.889 MB / 0.5675 GB, free: 23.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003895/0.2768, allocations: 321.7 kB / 0.5678 GB, free: 22.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006494/0.2775, allocations: 0.7176 MB / 0.5685 GB, free: 22.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008285/0.2783, allocations: 0.9492 MB / 0.5694 GB, free: 21.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.2786, allocations: 136 kB / 0.5695 GB, free: 21.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006049/0.2792, allocations: 346.9 kB / 0.5699 GB, free: 21.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002155/0.2794, allocations: 373.7 kB / 0.5702 GB, free: 21.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004853/0.2799, allocations: 0.7533 MB / 0.571 GB, free: 20.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.2812, allocations: 1.846 MB / 0.5728 GB, free: 19.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2812, allocations: 3.938 kB / 0.5728 GB, free: 19.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2812, allocations: 0 / 0.5728 GB, free: 19.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.2813, allocations: 0 / 0.5728 GB, free: 19.52 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.01305/0.2943, allocations: 3.59 MB / 0.5763 GB, free: 17.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2944, allocations: 11.98 kB / 0.5763 GB, free: 17.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001309/0.2945, allocations: 130.9 kB / 0.5764 GB, free: 17.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0042/0.2987, allocations: 0.7085 MB / 0.5771 GB, free: 16.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.2999, allocations: 0.8989 MB / 0.578 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002784/0.3002, allocations: 357.5 kB / 0.5783 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.3004, allocations: 87.94 kB / 0.5784 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.3025, allocations: 1.215 MB / 0.5796 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.3025, allocations: 3.938 kB / 0.5796 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.783e-05/0.3026, allocations: 35.98 kB / 0.5796 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.3027, allocations: 16 kB / 0.5796 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.3048, allocations: 1.156 MB / 0.5808 GB, free: 12.56 MB / 398.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.005972/0.3108, allocations: 4.083 MB / 0.5848 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007197/0.318, allocations: 2.643 MB / 0.5873 GB, free: 5.504 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.3197, allocations: 0.8172 MB / 0.5881 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.3198, allocations: 20.98 kB / 0.5882 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.3198, allocations: 47.5 kB / 0.5882 GB, free: 4.605 MB / 398.1 MB Notification: Performance of pre-optimization done (n=107): time 3.146e-06/0.3198, allocations: 0 / 0.5882 GB, free: 4.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=107): time 0.04122/0.3611, allocations: 9.73 MB / 0.5977 GB, free: 10.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.3612, allocations: 86.11 kB / 0.5978 GB, free: 10.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.3629, allocations: 1.089 MB / 0.5989 GB, free: 9.633 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002895/0.3632, allocations: 49.7 kB / 0.5989 GB, free: 9.578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/0.3636, allocations: 0.4895 MB / 0.5994 GB, free: 9.082 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004463/0.3641, allocations: 390.4 kB / 0.5997 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004956/0.3646, allocations: 279.4 kB / 0.6 GB, free: 8.418 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.3647, allocations: 301.1 kB / 0.6003 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/0.3665, allocations: 0.8472 MB / 0.6011 GB, free: 7.273 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.3685, allocations: 1.026 MB / 0.6021 GB, free: 6.199 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003785/0.3723, allocations: 1.87 MB / 0.604 GB, free: 4.289 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3723, allocations: 0 / 0.604 GB, free: 4.289 MB / 414.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01299/0.3853, allocations: 4.244 MB / 0.6081 GB, free: 28 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3854, allocations: 4 kB / 0.6081 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3854, allocations: 4 kB / 0.6081 GB, free: 20 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008743/0.3941, allocations: 2.373 MB / 0.6104 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.3953, allocations: 239.6 kB / 0.6107 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006155/0.4015, allocations: 2.587 MB / 0.6132 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.4035, allocations: 206.5 kB / 0.6134 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.4036, allocations: 51.98 kB / 0.6134 GB, free: 10.54 MB / 430.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 (142): * Single equations (assignments): 141 * 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 {(28,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004821/0.4041, allocations: 258.1 kB / 0.6137 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.4044, allocations: 138.2 kB / 0.6138 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01638/0.4208, allocations: 4.621 MB / 0.6183 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.4208, allocations: 8 kB / 0.6183 GB, free: 5.484 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.4208, allocations: 7.938 kB / 0.6183 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.612e-05/0.4209, allocations: 7.969 kB / 0.6183 GB, free: 5.469 MB / 430.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.01869/0.4396, allocations: 6.322 MB / 0.6245 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.4396, allocations: 0 / 0.6245 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/0.4403, allocations: 107.8 kB / 0.6246 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007957/0.4483, allocations: 2.146 MB / 0.6267 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/0.4485, allocations: 23.98 kB / 0.6267 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0264/0.4749, allocations: 10.06 MB / 0.6366 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.475, allocations: 3.938 kB / 0.6366 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/0.4935, allocations: 5.67 MB / 0.6421 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005404/0.4941, allocations: 231.1 kB / 0.6423 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.4943, allocations: 20 kB / 0.6423 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.4956, allocations: 103.9 kB / 0.6424 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007535/0.4964, allocations: 241.1 kB / 0.6427 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.373e-05/0.4965, allocations: 35.92 kB / 0.6427 GB, free: 12.19 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00093/0.4974, allocations: 0.7248 MB / 0.6434 GB, free: 11.46 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4974, allocations: 0 / 0.6434 GB, free: 11.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001315/0.4987, allocations: 475.5 kB / 0.6439 GB, free: 10.99 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,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 (64): * Single equations (assignments): 63 * 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.01865/0.5174, allocations: 6.245 MB / 0.65 GB, free: 4.707 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008791/0.5262, allocations: 2.58 MB / 0.6525 GB, free: 2.129 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.5263, allocations: 4 kB / 0.6525 GB, free: 2.125 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006219/0.5325, allocations: 1.809 MB / 0.6543 GB, free: 312 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.5336, allocations: 120.5 kB / 0.6544 GB, free: 192 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03766/0.5713, allocations: 17.09 MB / 0.6711 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007034/0.572, allocations: 1.124 MB / 0.6722 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004581/0.5725, allocations: 104.2 kB / 0.6723 GB, free: 13.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006468/0.5732, allocations: 491.3 kB / 0.6727 GB, free: 12.92 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5732, allocations: 0 / 0.6727 GB, free: 12.92 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2474/0.8206, allocations: 36.84 MB / 0.7087 GB, free: 133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.64, allocations: 4.594 kB / 0.7087 GB, free: 133 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)