Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.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: translateModel(OpenIPSL.Tests.Machines.PSSE.GENSAE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE") translateModel(OpenIPSL.Tests.Machines.PSSE.GENSAE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08369/0.08369, allocations: 12.59 MB / 28.22 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 115.4 kB / 31.84 MB, free: 3.891 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.544/1.544, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001908/0.001908, allocations: 188.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4697/0.4697, allocations: 78.52 MB / 419.3 MB, free: 11.26 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.002527/0.002527, allocations: 138.2 kB / 0.5558 GB, free: 28.5 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1641, allocations: 68.13 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.008218/0.1724, allocations: 7.08 MB / 0.6293 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006479/0.1789, allocations: 2.22 MB / 0.6315 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.1804, allocations: 12 kB / 0.6315 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008328/0.1813, allocations: 269.7 kB / 0.6317 GB, free: 5.809 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003702/0.185, allocations: 1.127 MB / 0.6328 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001524/0.1866, allocations: 0.5793 MB / 0.6334 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003188/0.1898, allocations: 1.904 MB / 0.6353 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000658/0.1905, allocations: 324 kB / 0.6356 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.1918, allocations: 0.7353 MB / 0.6363 GB, free: 1.121 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/0.1936, allocations: 0.9648 MB / 0.6372 GB, free: 156 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000661/0.1943, allocations: 140 kB / 0.6374 GB, free: 16 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.1955, allocations: 315.8 kB / 0.6377 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003739/0.1959, allocations: 370.6 kB / 0.638 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008791/0.1968, allocations: 0.7575 MB / 0.6388 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002459/0.1993, allocations: 1.863 MB / 0.6406 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1993, allocations: 0 / 0.6406 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1993, allocations: 0 / 0.6406 GB, free: 12.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.1993, allocations: 0 / 0.6406 GB, free: 12.71 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.01303/0.2124, allocations: 3.514 MB / 0.644 GB, free: 9.137 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.2124, allocations: 15.98 kB / 0.644 GB, free: 9.121 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/0.2172, allocations: 0.7288 MB / 0.6447 GB, free: 8.391 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.2193, allocations: 0.9312 MB / 0.6456 GB, free: 7.406 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004213/0.2198, allocations: 353.3 kB / 0.646 GB, free: 7.008 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.22, allocations: 95.95 kB / 0.6461 GB, free: 6.914 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.2225, allocations: 1.215 MB / 0.6473 GB, free: 5.684 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.2225, allocations: 0 / 0.6473 GB, free: 5.684 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.81e-05/0.2226, allocations: 43.92 kB / 0.6473 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.2226, allocations: 20 kB / 0.6473 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.2251, allocations: 1.159 MB / 0.6484 GB, free: 4.465 MB / 462.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.007866/0.233, allocations: 4.115 MB / 0.6525 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007776/0.2408, allocations: 2.68 MB / 0.6551 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.2427, allocations: 0.8362 MB / 0.6559 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.2429, allocations: 16.91 kB / 0.6559 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.2429, allocations: 47.56 kB / 0.656 GB, free: 12.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 3.316e-06/0.2429, allocations: 0 / 0.656 GB, free: 12.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.04234/0.2853, allocations: 10.1 MB / 0.6658 GB, free: 2.289 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/0.2854, allocations: 90.05 kB / 0.6659 GB, free: 2.184 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.2878, allocations: 1.117 MB / 0.667 GB, free: 1.055 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003033/0.2881, allocations: 53.7 kB / 0.6671 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/0.2886, allocations: 0.498 MB / 0.6675 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005995/0.2892, allocations: 408.5 kB / 0.6679 GB, free: 92 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007536/0.29, allocations: 287.5 kB / 0.6682 GB, free: 15.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.2901, allocations: 301.1 kB / 0.6685 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/0.2921, allocations: 0.8589 MB / 0.6693 GB, free: 14.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/0.2942, allocations: 1.053 MB / 0.6704 GB, free: 13.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003993/0.2982, allocations: 1.878 MB / 0.6722 GB, free: 11.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.2982, allocations: 4 kB / 0.6722 GB, free: 11.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009133/0.3074, allocations: 3.375 MB / 0.6755 GB, free: 8.238 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.3074, allocations: 4 kB / 0.6755 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.3074, allocations: 7.938 kB / 0.6755 GB, free: 8.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009837/0.3173, allocations: 2.596 MB / 0.678 GB, free: 5.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.3186, allocations: 247.7 kB / 0.6783 GB, free: 5.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006461/0.3251, allocations: 2.641 MB / 0.6809 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/0.3274, allocations: 214.9 kB / 0.6811 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/0.3276, allocations: 51.98 kB / 0.6811 GB, free: 2.449 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(29,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007234/0.3284, allocations: 259.1 kB / 0.6814 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004834/0.3289, allocations: 147 kB / 0.6815 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01526/0.3441, allocations: 4.57 MB / 0.686 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.3442, allocations: 12 kB / 0.686 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3442, allocations: 0 / 0.686 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.807e-05/0.3442, allocations: 3.984 kB / 0.686 GB, free: 13.44 MB / 0.4981 GB 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.01882/0.363, allocations: 6.338 MB / 0.6922 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/0.3631, allocations: 4 kB / 0.6922 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006865/0.3638, allocations: 111.8 kB / 0.6923 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007544/0.3714, allocations: 2.142 MB / 0.6944 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002408/0.3716, allocations: 16 kB / 0.6944 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02674/0.3984, allocations: 10.06 MB / 0.7042 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.3984, allocations: 7.938 kB / 0.7042 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/0.4167, allocations: 5.661 MB / 0.7097 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008531/0.4176, allocations: 239.9 kB / 0.71 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005077/0.4181, allocations: 23.94 kB / 0.71 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/0.4198, allocations: 107.9 kB / 0.7101 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008566/0.4207, allocations: 237.1 kB / 0.7103 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.4208, allocations: 31.94 kB / 0.7104 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001282/0.4221, allocations: 0.7484 MB / 0.7111 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4221, allocations: 4 kB / 0.7111 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001751/0.4238, allocations: 475.6 kB / 0.7115 GB, free: 2.918 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAE.w,gENSAE.delta,gENSAE.Epq,gENSAE.PSIkd,gENSAE.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 (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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003501/0.4242, allocations: 147.1 kB / 0.7117 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008484/0.4327, allocations: 2.579 MB / 0.7142 GB, free: 188 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.4327, allocations: 0 / 0.7142 GB, free: 188 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.3603/0.793, allocations: 1.817 MB / 0.716 GB, free: 87.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.7946, allocations: 110.2 kB / 0.7161 GB, free: 87.46 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.8, allocations: 2.525 MB / 0.7185 GB, free: 86.42 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008818/0.8009, allocations: 1.125 MB / 0.7196 GB, free: 85.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005441/0.8015, allocations: 107 kB / 0.7197 GB, free: 85.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.8018, allocations: 81.23 kB / 0.7198 GB, free: 85.66 MB / 0.5137 GB Notification: Performance of SimCode: time 1.332e-06/0.8018, allocations: 0.9375 kB / 0.7198 GB, free: 85.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.05652/0.8583, allocations: 26.73 MB / 0.7459 GB, free: 74.45 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)