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.1481/0.1481, allocations: 12.59 MB / 28.22 MB, free: 0.7578 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.001328/0.001328, allocations: 107.4 kB / 31.83 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 2.808/2.808, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.003432/0.003432, 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.8216/0.8216, allocations: 78.52 MB / 419.3 MB, free: 11.28 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.004351/0.004351, allocations: 138.7 kB / 0.5554 GB, free: 28.74 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2347, allocations: 68.12 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.01275/0.2475, allocations: 7.058 MB / 0.6288 GB, free: 8.867 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008872/0.2565, allocations: 2.177 MB / 0.6309 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002913/0.2595, allocations: 8 kB / 0.6309 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.2621, allocations: 285.7 kB / 0.6312 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00848/0.2706, allocations: 1.141 MB / 0.6323 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.2738, allocations: 0.5647 MB / 0.6329 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004999/0.2788, allocations: 1.893 MB / 0.6347 GB, free: 2.797 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.2799, allocations: 316 kB / 0.635 GB, free: 2.461 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.2818, allocations: 0.7315 MB / 0.6357 GB, free: 1.727 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.2844, allocations: 0.9492 MB / 0.6367 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007474/0.2852, allocations: 136 kB / 0.6368 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.287, allocations: 359.7 kB / 0.6371 GB, free: 296 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008679/0.2879, allocations: 362.6 kB / 0.6375 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00169/0.2896, allocations: 0.7458 MB / 0.6382 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004432/0.294, allocations: 1.87 MB / 0.64 GB, free: 13.31 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.2941, allocations: 0 / 0.64 GB, free: 13.31 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.2941, allocations: 3.938 kB / 0.64 GB, free: 13.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.99e-05/0.2942, allocations: 0 / 0.64 GB, free: 13.3 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.02615/0.3204, allocations: 3.586 MB / 0.6435 GB, free: 9.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.835e-05/0.3205, allocations: 15.98 kB / 0.6435 GB, free: 9.645 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005699/0.3211, allocations: 130.9 kB / 0.6437 GB, free: 9.508 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009154/0.3302, allocations: 0.7085 MB / 0.6444 GB, free: 8.797 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003475/0.3337, allocations: 0.8989 MB / 0.6452 GB, free: 7.844 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007417/0.3345, allocations: 357.6 kB / 0.6456 GB, free: 7.441 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005595/0.3351, allocations: 95.84 kB / 0.6457 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005136/0.3403, allocations: 1.204 MB / 0.6468 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.3403, allocations: 0 / 0.6468 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/0.3405, allocations: 35.98 kB / 0.6469 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.3406, allocations: 20 kB / 0.6469 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005037/0.3456, allocations: 1.163 MB / 0.648 GB, free: 4.914 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.01352/0.3592, allocations: 4.06 MB / 0.652 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01356/0.3728, allocations: 2.64 MB / 0.6546 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003462/0.3763, allocations: 0.8172 MB / 0.6554 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.3766, allocations: 20.91 kB / 0.6554 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/0.3766, allocations: 51.44 kB / 0.6554 GB, free: 12.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=107): time 5.24e-06/0.3767, allocations: 0 / 0.6554 GB, free: 12.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=107): time 0.07248/0.4492, allocations: 9.718 MB / 0.6649 GB, free: 3.227 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/0.4493, allocations: 90.11 kB / 0.665 GB, free: 3.121 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/0.4524, allocations: 1.081 MB / 0.6661 GB, free: 2.027 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003963/0.4529, allocations: 45.7 kB / 0.6661 GB, free: 1.977 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000804/0.4537, allocations: 0.5012 MB / 0.6666 GB, free: 1.469 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/0.4549, allocations: 390.4 kB / 0.667 GB, free: 1.082 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001759/0.4567, allocations: 275.4 kB / 0.6672 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.4569, allocations: 301.1 kB / 0.6675 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003777/0.4607, allocations: 0.8433 MB / 0.6684 GB, free: 15.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003734/0.4644, allocations: 1.033 MB / 0.6694 GB, free: 14.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007503/0.4719, allocations: 1.867 MB / 0.6712 GB, free: 12.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.056e-05/0.472, allocations: 4 kB / 0.6712 GB, free: 12.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.02378/0.4958, allocations: 4.244 MB / 0.6753 GB, free: 8.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.4959, allocations: 4 kB / 0.6753 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.496, allocations: 4 kB / 0.6753 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01494/0.5109, allocations: 2.365 MB / 0.6777 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002051/0.513, allocations: 239.7 kB / 0.6779 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.524, allocations: 2.606 MB / 0.6804 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003356/0.5274, allocations: 194.7 kB / 0.6806 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000433/0.5279, allocations: 51.98 kB / 0.6807 GB, free: 2.93 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 (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.001295/0.5292, allocations: 258.1 kB / 0.6809 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000913/0.5301, allocations: 134.2 kB / 0.681 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02876/0.5589, allocations: 4.621 MB / 0.6856 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-05/0.559, allocations: 12 kB / 0.6856 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.5591, allocations: 0 / 0.6856 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.706e-05/0.5591, allocations: 11.97 kB / 0.6856 GB, free: 13.87 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.03305/0.5922, allocations: 6.318 MB / 0.6917 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.576e-05/0.5923, allocations: 0 / 0.6917 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.5933, allocations: 107.8 kB / 0.6918 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01393/0.6073, allocations: 2.138 MB / 0.6939 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003775/0.6077, allocations: 27.98 kB / 0.694 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04663/0.6544, allocations: 10.04 MB / 0.7038 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.6545, allocations: 0 / 0.7038 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03078/0.6853, allocations: 5.672 MB / 0.7093 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009326/0.6863, allocations: 239.1 kB / 0.7095 GB, free: 5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006293/0.6869, allocations: 24 kB / 0.7096 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/0.6896, allocations: 103.9 kB / 0.7097 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001404/0.691, allocations: 237.1 kB / 0.7099 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002576/0.6913, allocations: 35.92 kB / 0.7099 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001999/0.6933, allocations: 0.7209 MB / 0.7106 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.82e-07/0.6933, allocations: 0 / 0.7106 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003011/0.6964, allocations: 479.5 kB / 0.7111 GB, free: 3.406 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,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.4605/1.157, allocations: 6.245 MB / 0.7172 GB, free: 83.29 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009715/1.167, allocations: 2.553 MB / 0.7197 GB, free: 83.24 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.167, allocations: 0 / 0.7197 GB, free: 83.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006904/1.174, allocations: 1.801 MB / 0.7214 GB, free: 82.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/1.175, allocations: 115.3 kB / 0.7215 GB, free: 82.85 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04444/1.22, allocations: 16.31 MB / 0.7375 GB, free: 76.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007265/1.221, allocations: 1.117 MB / 0.7386 GB, free: 75.83 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004866/1.221, allocations: 108.7 kB / 0.7387 GB, free: 75.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007095/1.222, allocations: 495.5 kB / 0.7391 GB, free: 75.43 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/1.222, allocations: 0 / 0.7391 GB, free: 75.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.289/3.51, allocations: 38.88 MB / 0.7771 GB, free: 41.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.98/30.49, allocations: 12 kB / 0.7771 GB, free: 41.79 MB / 0.5137 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)