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.005097/0.005097, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.403/1.403, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001568/0.001568, allocations: 192.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5435/0.5435, allocations: 91.9 MB / 431.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 84.25 kB / 0.5723 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1157, allocations: 71.28 MB / 0.6419 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAL): time 0.008004/0.1237, allocations: 7.013 MB / 0.6487 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004816/0.1286, allocations: 2.204 MB / 0.6509 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007157/0.1293, allocations: 12 kB / 0.6509 GB, free: 10.83 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006682/0.1301, allocations: 273.7 kB / 0.6511 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.1324, allocations: 0.9274 MB / 0.652 GB, free: 9.629 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.1339, allocations: 0.6581 MB / 0.6527 GB, free: 8.977 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002372/0.1363, allocations: 1.737 MB / 0.6544 GB, free: 7.234 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005202/0.1368, allocations: 324.2 kB / 0.6547 GB, free: 6.895 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009495/0.1378, allocations: 0.7081 MB / 0.6554 GB, free: 6.184 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.1389, allocations: 0.9258 MB / 0.6563 GB, free: 5.254 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.1391, allocations: 136 kB / 0.6564 GB, free: 5.121 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006677/0.1398, allocations: 359.7 kB / 0.6568 GB, free: 4.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003133/0.1401, allocations: 362.6 kB / 0.6571 GB, free: 4.414 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000673/0.1408, allocations: 0.7419 MB / 0.6578 GB, free: 3.668 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.143, allocations: 1.852 MB / 0.6596 GB, free: 1.809 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.143, allocations: 3.938 kB / 0.6596 GB, free: 1.805 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.143, allocations: 0 / 0.6596 GB, free: 1.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.143, allocations: 8 kB / 0.6596 GB, free: 1.797 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.01132/0.1543, allocations: 3.265 MB / 0.6628 GB, free: 14.47 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1544, allocations: 11.97 kB / 0.6628 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001934/0.1546, allocations: 138.9 kB / 0.663 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/0.1589, allocations: 0.7171 MB / 0.6637 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.1605, allocations: 0.9077 MB / 0.6646 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004442/0.161, allocations: 353.5 kB / 0.6649 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.1612, allocations: 95.89 kB / 0.665 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.1637, allocations: 1.215 MB / 0.6662 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1638, allocations: 0 / 0.6662 GB, free: 10.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.1639, allocations: 28 kB / 0.6662 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.1639, allocations: 20 kB / 0.6662 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/0.1664, allocations: 1.156 MB / 0.6674 GB, free: 9.707 MB / 478.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.007748/0.1742, allocations: 4.076 MB / 0.6713 GB, free: 5.438 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007721/0.182, allocations: 2.649 MB / 0.6739 GB, free: 2.664 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/0.184, allocations: 0.8222 MB / 0.6747 GB, free: 1.836 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.1841, allocations: 24.91 kB / 0.6748 GB, free: 1.812 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.1842, allocations: 43.56 kB / 0.6748 GB, free: 1.762 MB / 478.1 MB Notification: Performance of pre-optimization done (n=107): time 4.379e-06/0.1842, allocations: 4 kB / 0.6748 GB, free: 1.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=107): time 0.04123/0.2254, allocations: 9.727 MB / 0.6843 GB, free: 7.992 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.2255, allocations: 94.05 kB / 0.6844 GB, free: 7.883 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.2272, allocations: 1.089 MB / 0.6855 GB, free: 6.781 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002803/0.2275, allocations: 45.7 kB / 0.6855 GB, free: 6.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/0.2279, allocations: 0.498 MB / 0.686 GB, free: 6.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005372/0.2285, allocations: 408.5 kB / 0.6864 GB, free: 5.824 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000522/0.229, allocations: 275.5 kB / 0.6866 GB, free: 5.551 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2292, allocations: 305.1 kB / 0.6869 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/0.2311, allocations: 0.8472 MB / 0.6878 GB, free: 4.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/0.2332, allocations: 1.026 MB / 0.6888 GB, free: 3.328 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003825/0.237, allocations: 1.867 MB / 0.6906 GB, free: 1.422 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.237, allocations: 0 / 0.6906 GB, free: 1.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01292/0.2499, allocations: 4.252 MB / 0.6947 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.25, allocations: 8.312 kB / 0.6947 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.25, allocations: 8 kB / 0.6947 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008574/0.2586, allocations: 2.357 MB / 0.697 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.2598, allocations: 235.6 kB / 0.6973 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006176/0.266, allocations: 2.599 MB / 0.6998 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.2679, allocations: 207 kB / 0.7 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.2681, allocations: 55.98 kB / 0.7001 GB, free: 7.664 MB / 0.4981 GB 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.0005286/0.2686, allocations: 257.6 kB / 0.7003 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002981/0.2689, allocations: 143 kB / 0.7004 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01587/0.2848, allocations: 4.621 MB / 0.705 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.2849, allocations: 12 kB / 0.705 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.2849, allocations: 0 / 0.705 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.912e-05/0.2849, allocations: 7.922 kB / 0.705 GB, free: 2.594 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.01849/0.3034, allocations: 6.318 MB / 0.7111 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.3035, allocations: 3.984 kB / 0.7111 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006652/0.3042, allocations: 103.9 kB / 0.7112 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007703/0.3119, allocations: 2.149 MB / 0.7133 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001756/0.3121, allocations: 16 kB / 0.7134 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02635/0.3384, allocations: 10.05 MB / 0.7232 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3385, allocations: 0 / 0.7232 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01832/0.3568, allocations: 5.689 MB / 0.7287 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005187/0.3574, allocations: 239.9 kB / 0.729 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/0.3576, allocations: 16 kB / 0.729 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.3589, allocations: 111.9 kB / 0.7291 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008068/0.3598, allocations: 237.1 kB / 0.7293 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.382e-05/0.3599, allocations: 31.94 kB / 0.7293 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001092/0.361, allocations: 0.7248 MB / 0.73 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.361, allocations: 4 kB / 0.73 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001448/0.3624, allocations: 467.7 kB / 0.7305 GB, free: 8.117 MB / 0.5294 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.01846/0.3809, allocations: 6.273 MB / 0.7366 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008259/0.3892, allocations: 2.548 MB / 0.7391 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3892, allocations: 4.188 kB / 0.7391 GB, free: 15.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006125/0.3954, allocations: 1.815 MB / 0.7409 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.3966, allocations: 108.5 kB / 0.741 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03842/0.4351, allocations: 16.35 MB / 0.757 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000862/0.436, allocations: 1.121 MB / 0.7581 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004759/0.4364, allocations: 112.2 kB / 0.7582 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007097/0.4372, allocations: 487.3 kB / 0.7586 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.4372, allocations: 0 / 0.7586 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3483/0.7855, allocations: 37.26 MB / 0.795 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.75, allocations: 7.312 kB / 0.795 GB, free: 107.4 MB / 0.5606 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)