Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENCLS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS",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.1033/0.1033, allocations: 12.59 MB / 28.22 MB, free: 0.7734 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.001304/0.001303, allocations: 107.4 kB / 31.84 MB, free: 3.895 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.703/1.703, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.002604/0.002604, allocations: 179.4 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.534/0.534, allocations: 78.52 MB / 419.3 MB, free: 11.25 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.003179/0.003179, allocations: 139.4 kB / 0.5554 GB, free: 28.68 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2152, allocations: 68.12 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENCLS): time 0.01363/0.2289, allocations: 6.227 MB / 0.628 GB, free: 9.668 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007791/0.2369, allocations: 1.822 MB / 0.6298 GB, free: 7.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/0.2391, allocations: 8 kB / 0.6298 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.2406, allocations: 242 kB / 0.63 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005128/0.2458, allocations: 0.7957 MB / 0.6308 GB, free: 6.797 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.2488, allocations: 0.6443 MB / 0.6314 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005354/0.2541, allocations: 1.65 MB / 0.633 GB, free: 4.504 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.2555, allocations: 283.5 kB / 0.6333 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002323/0.2578, allocations: 0.6147 MB / 0.6339 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/0.2607, allocations: 0.8014 MB / 0.6347 GB, free: 2.793 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008386/0.2615, allocations: 116 kB / 0.6348 GB, free: 2.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.2632, allocations: 239.9 kB / 0.635 GB, free: 2.445 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009308/0.2642, allocations: 306.7 kB / 0.6353 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002059/0.2662, allocations: 0.637 MB / 0.6359 GB, free: 1.504 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003908/0.2702, allocations: 1.564 MB / 0.6374 GB, free: 15.94 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.2702, allocations: 0 / 0.6374 GB, free: 15.94 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.2702, allocations: 0 / 0.6374 GB, free: 15.94 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.47e-05/0.2703, allocations: 4 kB / 0.6375 GB, free: 15.93 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.01703/0.2874, allocations: 2.618 MB / 0.64 GB, free: 13.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.93e-05/0.2875, allocations: 19.97 kB / 0.64 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004884/0.288, allocations: 122.5 kB / 0.6401 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008024/0.296, allocations: 0.6813 MB / 0.6408 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003328/0.2994, allocations: 0.8032 MB / 0.6416 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007929/0.3002, allocations: 349.3 kB / 0.6419 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005144/0.3008, allocations: 75.91 kB / 0.642 GB, free: 11.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0047/0.3055, allocations: 1.141 MB / 0.6431 GB, free: 9.945 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.3056, allocations: 4 kB / 0.6431 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/0.3058, allocations: 31.94 kB / 0.6431 GB, free: 9.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.3058, allocations: 16 kB / 0.6432 GB, free: 9.895 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004303/0.3101, allocations: 1.081 MB / 0.6442 GB, free: 8.812 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.01166/0.3218, allocations: 3.582 MB / 0.6477 GB, free: 5.059 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.3341, allocations: 2.518 MB / 0.6502 GB, free: 2.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003005/0.3371, allocations: 0.7738 MB / 0.6509 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002288/0.3374, allocations: 28.91 kB / 0.651 GB, free: 1.602 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.483e-05/0.3375, allocations: 51.5 kB / 0.651 GB, free: 1.543 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 4.539e-06/0.3375, allocations: 0 / 0.651 GB, free: 1.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.06768/0.4052, allocations: 9.395 MB / 0.6602 GB, free: 8.109 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.4054, allocations: 90.05 kB / 0.6603 GB, free: 8.004 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/0.4084, allocations: 0.9008 MB / 0.6611 GB, free: 7.082 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005073/0.409, allocations: 49.7 kB / 0.6612 GB, free: 7.027 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007833/0.4098, allocations: 468.6 kB / 0.6616 GB, free: 6.562 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/0.4108, allocations: 343 kB / 0.662 GB, free: 6.223 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.4121, allocations: 174.9 kB / 0.6621 GB, free: 6.043 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002814/0.4124, allocations: 341.9 kB / 0.6625 GB, free: 5.703 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002796/0.4152, allocations: 0.6702 MB / 0.6631 GB, free: 5.035 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002927/0.4182, allocations: 0.8315 MB / 0.6639 GB, free: 4.152 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005715/0.4239, allocations: 1.524 MB / 0.6654 GB, free: 2.574 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.424, allocations: 3.938 kB / 0.6654 GB, free: 2.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.02549/0.4495, allocations: 4.539 MB / 0.6699 GB, free: 14.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.809e-05/0.4496, allocations: 10.97 kB / 0.6699 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/0.4496, allocations: 4 kB / 0.6699 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01292/0.4626, allocations: 2.345 MB / 0.6722 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.464, allocations: 139.8 kB / 0.6723 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04798/0.512, allocations: 11.31 MB / 0.6833 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002673/0.5147, allocations: 167.1 kB / 0.6835 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000391/0.5152, allocations: 35.98 kB / 0.6835 GB, free: 15.84 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (83): * Single equations (assignments): 82 * 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 {(27,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0009913/0.5162, allocations: 233.6 kB / 0.6838 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000686/0.5169, allocations: 114.6 kB / 0.6839 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02419/0.5411, allocations: 4.44 MB / 0.6882 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.009e-05/0.5412, allocations: 12 kB / 0.6882 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.5412, allocations: 4 kB / 0.6882 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.487e-05/0.5413, allocations: 11.91 kB / 0.6882 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02905/0.5703, allocations: 6.066 MB / 0.6942 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.912e-05/0.5705, allocations: 0 / 0.6942 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009756/0.5715, allocations: 95.83 kB / 0.6942 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01193/0.5834, allocations: 2.165 MB / 0.6964 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004274/0.5839, allocations: 19.98 kB / 0.6964 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03973/0.6237, allocations: 9.932 MB / 0.7061 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.6238, allocations: 0 / 0.7061 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02868/0.6525, allocations: 5.515 MB / 0.7115 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008487/0.6534, allocations: 211.5 kB / 0.7117 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000652/0.6541, allocations: 16 kB / 0.7117 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002325/0.6565, allocations: 103.9 kB / 0.7118 GB, free: 2.562 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001505/0.658, allocations: 233.1 kB / 0.712 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002348/0.6583, allocations: 27.98 kB / 0.712 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00186/0.6602, allocations: 0.6187 MB / 0.7126 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4e-07/0.6602, allocations: 0 / 0.7126 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003243/0.6634, allocations: 471.5 kB / 0.7131 GB, free: 1.215 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,gENCLS1.delta,gENCLS1.omega,gENCLS1.eq,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 (55): * Single equations (assignments): 54 * 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 {(27,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.6173/1.281, allocations: 6.067 MB / 0.719 GB, free: 83.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01557/1.296, allocations: 2.565 MB / 0.7215 GB, free: 83.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/1.297, allocations: 3.875 kB / 0.7215 GB, free: 83.76 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01118/1.308, allocations: 1.764 MB / 0.7232 GB, free: 83.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/1.31, allocations: 107.8 kB / 0.7233 GB, free: 83.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08307/1.393, allocations: 16.21 MB / 0.7392 GB, free: 77.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/1.395, allocations: 1.087 MB / 0.7402 GB, free: 76.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008252/1.395, allocations: 92.19 kB / 0.7403 GB, free: 76.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/1.397, allocations: 428.2 kB / 0.7407 GB, free: 76.54 MB / 0.5137 GB Notification: Performance of SimCode: time 1.924e-06/1.397, allocations: 0 / 0.7407 GB, free: 76.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/1.507, allocations: 40.2 MB / 0.78 GB, free: 38.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.53/27.04, allocations: 13.47 kB / 0.78 GB, free: 38.71 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENCLS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)