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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE",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.08431/0.08431, allocations: 12.6 MB / 28.1 MB, free: 224 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.001075/0.001075, allocations: 103.6 kB / 31.7 MB, free: 3.496 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.327/1.327, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001398/0.001398, allocations: 195.2 kB / 290.5 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4662/0.4662, allocations: 78.51 MB / 419.2 MB, free: 11.34 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.002762/0.002762, allocations: 140.5 kB / 499.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2794, allocations: 68.1 MB / 0.5547 GB, free: 32.55 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.007576/0.2871, allocations: 7.086 MB / 0.5616 GB, free: 27.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00505/0.2922, allocations: 2.224 MB / 0.5638 GB, free: 25.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.2934, allocations: 10.69 kB / 0.5638 GB, free: 25.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006337/0.294, allocations: 276.3 kB / 0.564 GB, free: 25.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.2967, allocations: 1.117 MB / 0.5651 GB, free: 24.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.2979, allocations: 0.5845 MB / 0.5657 GB, free: 24.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001978/0.2999, allocations: 1.901 MB / 0.5676 GB, free: 22.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004385/0.3004, allocations: 317.7 kB / 0.5679 GB, free: 22.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008082/0.3012, allocations: 0.7297 MB / 0.5686 GB, free: 22.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000894/0.3021, allocations: 0.9629 MB / 0.5695 GB, free: 21.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.3023, allocations: 138.9 kB / 0.5696 GB, free: 21.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000635/0.303, allocations: 312.2 kB / 0.5699 GB, free: 21.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.3032, allocations: 372.6 kB / 0.5703 GB, free: 21.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005232/0.3037, allocations: 0.7521 MB / 0.571 GB, free: 20.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.3052, allocations: 1.839 MB / 0.5728 GB, free: 19.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3052, allocations: 0 / 0.5728 GB, free: 19.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3053, allocations: 0 / 0.5728 GB, free: 19.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.549e-05/0.3053, allocations: 1.531 kB / 0.5728 GB, free: 19.3 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.01282/0.3181, allocations: 3.473 MB / 0.5762 GB, free: 17.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3182, allocations: 12.92 kB / 0.5762 GB, free: 17.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/0.3183, allocations: 138.5 kB / 0.5764 GB, free: 17.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004413/0.3228, allocations: 0.7178 MB / 0.5771 GB, free: 16.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.3243, allocations: 0.9302 MB / 0.578 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.3246, allocations: 349.8 kB / 0.5783 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.3249, allocations: 99.84 kB / 0.5784 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.3272, allocations: 1.219 MB / 0.5796 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.3273, allocations: 0 / 0.5796 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.3274, allocations: 31.98 kB / 0.5796 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.3274, allocations: 20 kB / 0.5796 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.3297, allocations: 1.163 MB / 0.5808 GB, free: 12.59 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.006884/0.3366, allocations: 4.123 MB / 0.5848 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007259/0.3439, allocations: 2.679 MB / 0.5874 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.3456, allocations: 0.8362 MB / 0.5882 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.3458, allocations: 16.98 kB / 0.5883 GB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.3458, allocations: 47.5 kB / 0.5883 GB, free: 4.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=108): time 3.015e-06/0.3458, allocations: 0 / 0.5883 GB, free: 4.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=108): time 0.04249/0.3883, allocations: 10.1 MB / 0.5982 GB, free: 10.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.3884, allocations: 90.11 kB / 0.5983 GB, free: 10.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.3901, allocations: 1.117 MB / 0.5993 GB, free: 9.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002469/0.3904, allocations: 45.7 kB / 0.5994 GB, free: 9.113 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/0.3908, allocations: 0.4896 MB / 0.5999 GB, free: 8.617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005153/0.3913, allocations: 398.4 kB / 0.6002 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007009/0.3921, allocations: 283.4 kB / 0.6005 GB, free: 7.941 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3922, allocations: 305.1 kB / 0.6008 GB, free: 7.641 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002037/0.3942, allocations: 0.8589 MB / 0.6016 GB, free: 6.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.3963, allocations: 1.045 MB / 0.6027 GB, free: 5.688 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/0.4003, allocations: 1.874 MB / 0.6045 GB, free: 3.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.4004, allocations: 0 / 0.6045 GB, free: 3.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009136/0.4095, allocations: 3.371 MB / 0.6078 GB, free: 396 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.4096, allocations: 4 kB / 0.6078 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.4096, allocations: 4 kB / 0.6078 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009771/0.4194, allocations: 2.608 MB / 0.6103 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/0.4207, allocations: 243.6 kB / 0.6106 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006531/0.4272, allocations: 2.642 MB / 0.6132 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.4294, allocations: 206.6 kB / 0.6133 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/0.4296, allocations: 55.98 kB / 0.6134 GB, free: 10.61 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 (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.0005992/0.4302, allocations: 253.5 kB / 0.6136 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000411/0.4306, allocations: 138.3 kB / 0.6138 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/0.4463, allocations: 4.574 MB / 0.6182 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.071e-05/0.4463, allocations: 12 kB / 0.6183 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4463, allocations: 0 / 0.6183 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-05/0.4464, allocations: 7.922 kB / 0.6183 GB, free: 5.59 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.01866/0.465, allocations: 6.342 MB / 0.6245 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.4651, allocations: 4 kB / 0.6245 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000664/0.4658, allocations: 111.8 kB / 0.6246 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007782/0.4735, allocations: 2.149 MB / 0.6267 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/0.4738, allocations: 16 kB / 0.6267 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0265/0.5003, allocations: 10.06 MB / 0.6365 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.5003, allocations: 7.922 kB / 0.6365 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01803/0.5183, allocations: 5.655 MB / 0.642 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000526/0.5189, allocations: 235.1 kB / 0.6423 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000354/0.5193, allocations: 31.88 kB / 0.6423 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/0.521, allocations: 103.9 kB / 0.6424 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000806/0.5218, allocations: 241.1 kB / 0.6426 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.5219, allocations: 28 kB / 0.6426 GB, free: 12.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.5231, allocations: 0.7484 MB / 0.6434 GB, free: 11.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5231, allocations: 0 / 0.6434 GB, free: 11.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001475/0.5245, allocations: 475.5 kB / 0.6438 GB, free: 11.07 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,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.01832/0.5429, allocations: 6.245 MB / 0.6499 GB, free: 4.785 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009921/0.5528, allocations: 2.611 MB / 0.6525 GB, free: 2.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5529, allocations: 0 / 0.6525 GB, free: 2.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006551/0.5594, allocations: 1.811 MB / 0.6542 GB, free: 364 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.5609, allocations: 112.6 kB / 0.6544 GB, free: 252 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05241/0.6133, allocations: 18.95 MB / 0.6729 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009286/0.6143, allocations: 1.131 MB / 0.674 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005789/0.6149, allocations: 108.3 kB / 0.6741 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007472/0.6157, allocations: 487.3 kB / 0.6745 GB, free: 11.09 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6157, allocations: 4 kB / 0.6745 GB, free: 11.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08133/0.697, allocations: 37.17 MB / 0.7108 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.53, allocations: 7.5 kB / 0.7108 GB, free: 5.973 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1)