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.106/0.106, allocations: 12.59 MB / 28.23 MB, free: 0.7617 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.001083/0.001083, allocations: 115.4 kB / 31.84 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 1.35/1.35, 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.001392/0.001392, allocations: 180.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.4293/0.4293, allocations: 78.52 MB / 419.3 MB, free: 11.24 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.0028/0.0028, allocations: 143.3 kB / 0.5554 GB, free: 28.8 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1218, allocations: 68.13 MB / 0.6219 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.007868/0.1297, allocations: 7.079 MB / 0.6288 GB, free: 8.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004836/0.1346, allocations: 2.228 MB / 0.631 GB, free: 6.602 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.1357, allocations: 8 kB / 0.631 GB, free: 6.594 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008478/0.1366, allocations: 269.8 kB / 0.6313 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003256/0.1399, allocations: 1.193 MB / 0.6324 GB, free: 5.137 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.1413, allocations: 0.569 MB / 0.633 GB, free: 4.574 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002603/0.1439, allocations: 1.909 MB / 0.6348 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005737/0.1445, allocations: 324 kB / 0.6352 GB, free: 2.316 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.1456, allocations: 0.7315 MB / 0.6359 GB, free: 1.582 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.147, allocations: 0.9648 MB / 0.6368 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004216/0.1475, allocations: 140 kB / 0.6369 GB, free: 488 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008253/0.1483, allocations: 315.9 kB / 0.6372 GB, free: 172 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004173/0.1487, allocations: 374.5 kB / 0.6376 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008882/0.1496, allocations: 0.7497 MB / 0.6383 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.1519, allocations: 1.863 MB / 0.6402 GB, free: 13.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1519, allocations: 0 / 0.6402 GB, free: 13.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1519, allocations: 4 kB / 0.6402 GB, free: 13.17 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.252e-05/0.152, allocations: 4 kB / 0.6402 GB, free: 13.17 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.01376/0.1657, allocations: 3.518 MB / 0.6436 GB, free: 9.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.1658, allocations: 11.98 kB / 0.6436 GB, free: 9.578 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002954/0.1661, allocations: 130.9 kB / 0.6437 GB, free: 9.441 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004762/0.1709, allocations: 0.7249 MB / 0.6444 GB, free: 8.715 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.1729, allocations: 0.9273 MB / 0.6453 GB, free: 7.734 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004454/0.1733, allocations: 353.3 kB / 0.6457 GB, free: 7.336 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/0.1736, allocations: 95.89 kB / 0.6458 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/0.1764, allocations: 1.227 MB / 0.647 GB, free: 6 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.1765, allocations: 3.938 kB / 0.647 GB, free: 5.996 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.1766, allocations: 28 kB / 0.647 GB, free: 5.969 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.1766, allocations: 20 kB / 0.647 GB, free: 5.949 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/0.1792, allocations: 1.167 MB / 0.6482 GB, free: 4.785 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.008069/0.1873, allocations: 4.123 MB / 0.6522 GB, free: 476 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007983/0.1953, allocations: 2.668 MB / 0.6548 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/0.1972, allocations: 0.8284 MB / 0.6556 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.1973, allocations: 24.89 kB / 0.6556 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.1974, allocations: 43.5 kB / 0.6557 GB, free: 12.76 MB / 478.1 MB Notification: Performance of pre-optimization done (n=108): time 3.096e-06/0.1974, allocations: 0 / 0.6557 GB, free: 12.76 MB / 478.1 MB Notification: Performance of matching and sorting (n=108): time 0.04265/0.24, allocations: 10.1 MB / 0.6655 GB, free: 2.617 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.2402, allocations: 94.09 kB / 0.6656 GB, free: 2.508 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.242, allocations: 1.121 MB / 0.6667 GB, free: 1.375 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000284/0.2423, allocations: 45.7 kB / 0.6668 GB, free: 1.324 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/0.2427, allocations: 0.5018 MB / 0.6673 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005696/0.2433, allocations: 412.5 kB / 0.6676 GB, free: 420 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000728/0.244, allocations: 283.5 kB / 0.6679 GB, free: 132 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2442, allocations: 301.1 kB / 0.6682 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002002/0.2462, allocations: 0.8589 MB / 0.669 GB, free: 14.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002111/0.2483, allocations: 1.041 MB / 0.6701 GB, free: 13.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004077/0.2524, allocations: 1.886 MB / 0.6719 GB, free: 11.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.2524, allocations: 0 / 0.6719 GB, free: 11.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009247/0.2617, allocations: 3.379 MB / 0.6752 GB, free: 8.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.2617, allocations: 8 kB / 0.6752 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.2618, allocations: 4 kB / 0.6752 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00973/0.2715, allocations: 2.596 MB / 0.6777 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.2728, allocations: 243.6 kB / 0.678 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006759/0.2796, allocations: 2.645 MB / 0.6806 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.2817, allocations: 214.9 kB / 0.6808 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/0.282, allocations: 51.98 kB / 0.6808 GB, free: 2.777 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 (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.000787/0.2828, allocations: 265.5 kB / 0.6811 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006361/0.2834, allocations: 139.1 kB / 0.6812 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/0.2994, allocations: 4.563 MB / 0.6857 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.2995, allocations: 12 kB / 0.6857 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.2995, allocations: 0 / 0.6857 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.322e-05/0.2996, allocations: 15.86 kB / 0.6857 GB, free: 13.76 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.01911/0.3187, allocations: 6.342 MB / 0.6919 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-05/0.3188, allocations: 0 / 0.6919 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008064/0.3196, allocations: 107.9 kB / 0.692 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007861/0.3275, allocations: 2.138 MB / 0.6941 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002658/0.3278, allocations: 20 kB / 0.6941 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02706/0.3548, allocations: 10.06 MB / 0.7039 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3549, allocations: 11.88 kB / 0.7039 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01833/0.3732, allocations: 5.657 MB / 0.7095 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/0.3738, allocations: 243.9 kB / 0.7097 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004234/0.3743, allocations: 19.94 kB / 0.7097 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.3759, allocations: 107.9 kB / 0.7098 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008121/0.3767, allocations: 245 kB / 0.71 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.3768, allocations: 31.98 kB / 0.7101 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001173/0.378, allocations: 0.7406 MB / 0.7108 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.378, allocations: 0 / 0.7108 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00167/0.3797, allocations: 479.6 kB / 0.7112 GB, free: 3.246 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,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.2969/0.6766, allocations: 6.245 MB / 0.7173 GB, free: 83.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008878/0.6855, allocations: 2.589 MB / 0.7199 GB, free: 83.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.6856, allocations: 0 / 0.7199 GB, free: 83.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006328/0.6919, allocations: 1.816 MB / 0.7217 GB, free: 83.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.6933, allocations: 114 kB / 0.7218 GB, free: 83.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04773/0.7411, allocations: 18.17 MB / 0.7395 GB, free: 76.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/0.7418, allocations: 1.127 MB / 0.7406 GB, free: 75.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005738/0.7424, allocations: 117.8 kB / 0.7407 GB, free: 75.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00065/0.7431, allocations: 494.8 kB / 0.7412 GB, free: 75.58 MB / 0.5137 GB Notification: Performance of SimCode: time 8.41e-07/0.7431, allocations: 3.938 kB / 0.7412 GB, free: 75.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06799/0.8111, allocations: 37.6 MB / 0.7779 GB, free: 41.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.61, allocations: 8 kB / 0.7779 GB, free: 41.27 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)