Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008895/0.0008897, allocations: 86.48 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.3 MB / 239 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 172.6 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5242/0.5242, allocations: 79.48 MB / 420.8 MB, free: 3.906 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004156, allocations: 8 kB / 0.4892 GB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4118, allocations: 69.51 MB / 0.5571 GB, free: 37.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.006143/0.418, allocations: 6.454 MB / 0.5634 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004265/0.4223, allocations: 2.125 MB / 0.5655 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008506/0.4232, allocations: 12.5 kB / 0.5655 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.4238, allocations: 186.3 kB / 0.5657 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.4256, allocations: 0.7749 MB / 0.5664 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.4269, allocations: 0.553 MB / 0.567 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.4285, allocations: 1.559 MB / 0.5685 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004027/0.4289, allocations: 262.6 kB / 0.5687 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007541/0.4297, allocations: 0.6052 MB / 0.5693 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008995/0.4306, allocations: 0.8274 MB / 0.5701 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.4308, allocations: 77.09 kB / 0.5702 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005878/0.4313, allocations: 283.2 kB / 0.5705 GB, free: 35.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.4316, allocations: 290.2 kB / 0.5708 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.4318, allocations: 240.6 kB / 0.571 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.4328, allocations: 1.358 MB / 0.5723 GB, free: 34.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4328, allocations: 2.625 kB / 0.5723 GB, free: 34.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4329, allocations: 1.438 kB / 0.5723 GB, free: 34.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.4329, allocations: 0 / 0.5723 GB, free: 34.54 MB / 430.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.009357/0.4422, allocations: 3.07 MB / 0.5753 GB, free: 33.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4423, allocations: 9.344 kB / 0.5753 GB, free: 33.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002556/0.4426, allocations: 136 kB / 0.5754 GB, free: 33.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003993/0.4466, allocations: 0.7215 MB / 0.5762 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.4479, allocations: 0.8524 MB / 0.577 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002954/0.4482, allocations: 372.4 kB / 0.5773 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.4484, allocations: 92.47 kB / 0.5774 GB, free: 32.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.4505, allocations: 1.283 MB / 0.5787 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.4505, allocations: 0 / 0.5787 GB, free: 31.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.735e-05/0.4506, allocations: 33.67 kB / 0.5787 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.4506, allocations: 20.12 kB / 0.5787 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/0.4528, allocations: 1.241 MB / 0.5799 GB, free: 31.38 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 preOpt removeSimpleEquations (simulation): time 0.00597/0.4587, allocations: 4.16 MB / 0.584 GB, free: 28.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007372/0.4661, allocations: 3.194 MB / 0.5871 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/0.4681, allocations: 0.9035 MB / 0.588 GB, free: 27.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.4682, allocations: 19.77 kB / 0.588 GB, free: 27.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.4683, allocations: 54.56 kB / 0.5881 GB, free: 27.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=107): time 3.056e-06/0.4683, allocations: 0 / 0.5881 GB, free: 27.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=107): time 0.04053/0.5088, allocations: 11.87 MB / 0.5997 GB, free: 25.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.5089, allocations: 89.41 kB / 0.5998 GB, free: 25.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.5106, allocations: 1.07 MB / 0.6008 GB, free: 25.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003234/0.511, allocations: 49.45 kB / 0.6009 GB, free: 25.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/0.5113, allocations: 0.4906 MB / 0.6013 GB, free: 24.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000438/0.5118, allocations: 396.7 kB / 0.6017 GB, free: 24.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.893e-05/0.5119, allocations: 29.59 kB / 0.6017 GB, free: 24.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.512, allocations: 361.6 kB / 0.6021 GB, free: 24.06 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.5139, allocations: 0.9212 MB / 0.603 GB, free: 23.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/0.5159, allocations: 1.096 MB / 0.6041 GB, free: 23.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/0.5178, allocations: 0.9947 MB / 0.605 GB, free: 22.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.5178, allocations: 1.188 kB / 0.605 GB, free: 22.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01664/0.5345, allocations: 6.079 MB / 0.611 GB, free: 21.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.5346, allocations: 6.656 kB / 0.611 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.5346, allocations: 7.734 kB / 0.611 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007436/0.542, allocations: 2.742 MB / 0.6137 GB, free: 18.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.5432, allocations: 239.6 kB / 0.6139 GB, free: 18.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005406/0.5486, allocations: 2.908 MB / 0.6167 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.5507, allocations: 248.9 kB / 0.617 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002563/0.551, allocations: 63.94 kB / 0.617 GB, free: 15.15 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {28 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007073/0.5517, allocations: 249.6 kB / 0.6173 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004467/0.5522, allocations: 130.9 kB / 0.6174 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/0.5659, allocations: 5.649 MB / 0.6229 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.566, allocations: 15.95 kB / 0.6229 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.566, allocations: 3.984 kB / 0.6229 GB, free: 9.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.97e-05/0.5661, allocations: 3.984 kB / 0.6229 GB, free: 9.078 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.01659/0.5827, allocations: 7.362 MB / 0.6301 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/0.5827, allocations: 0 / 0.6301 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006281/0.5834, allocations: 103.9 kB / 0.6302 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007006/0.5904, allocations: 2.514 MB / 0.6327 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002516/0.5907, allocations: 24.61 kB / 0.6327 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02438/0.6151, allocations: 10.3 MB / 0.6428 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.6151, allocations: 0 / 0.6428 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01748/0.6326, allocations: 6.788 MB / 0.6494 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006431/0.6333, allocations: 235.1 kB / 0.6496 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004889/0.6338, allocations: 23.98 kB / 0.6496 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/0.6354, allocations: 148.3 kB / 0.6498 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008225/0.6362, allocations: 237 kB / 0.65 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.6364, allocations: 32 kB / 0.65 GB, free: 13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00123/0.6376, allocations: 0.717 MB / 0.6507 GB, free: 12.28 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6376, allocations: 0 / 0.6507 GB, free: 12.28 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002121/0.6398, allocations: 471.5 kB / 0.6512 GB, free: 11.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01808/0.6579, allocations: 7.377 MB / 0.6584 GB, free: 4.406 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008069/0.666, allocations: 2.867 MB / 0.6612 GB, free: 1.547 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.666, allocations: 0 / 0.6612 GB, free: 1.547 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005692/0.6717, allocations: 2.047 MB / 0.6632 GB, free: 15.49 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.6734, allocations: 109.5 kB / 0.6633 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02326/0.6967, allocations: 11.51 MB / 0.6745 GB, free: 3.582 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007598/0.6975, allocations: 1.117 MB / 0.6756 GB, free: 2.438 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005768/0.6981, allocations: 109.9 kB / 0.6757 GB, free: 2.332 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007358/0.6988, allocations: 491.3 kB / 0.6762 GB, free: 1.852 MB / 478.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6988, allocations: 0 / 0.6762 GB, free: 1.852 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05889/0.7577, allocations: 33.41 MB / 0.7088 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.758, allocations: 192.8 kB / 0.709 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.933/3.691, allocations: 3.938 kB / 0.709 GB, free: 0.5312 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1) Environment - environmentSimulation: