Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.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.Loads.PSAT.LoadTestVoltDependant,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestVoltDependant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestVoltDependant",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.08111/0.08111, 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.001049/0.001049, allocations: 111.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.299/1.299, 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.001485/0.001486, allocations: 187.8 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4228/0.4228, 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.002548/0.002548, allocations: 135.5 kB / 0.5554 GB, free: 28.73 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1255, allocations: 68.14 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant): time 0.005524/0.1311, allocations: 5.281 MB / 0.6271 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003105/0.1342, allocations: 1.58 MB / 0.6286 GB, free: 9.008 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004838/0.1347, allocations: 11.94 kB / 0.6286 GB, free: 8.996 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004819/0.1352, allocations: 186.4 kB / 0.6288 GB, free: 8.812 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.1368, allocations: 0.6751 MB / 0.6295 GB, free: 8.137 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.1378, allocations: 490.8 kB / 0.6299 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.1389, allocations: 1.059 MB / 0.631 GB, free: 6.598 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003879/0.1393, allocations: 266.7 kB / 0.6312 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005315/0.1399, allocations: 458 kB / 0.6317 GB, free: 5.875 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006153/0.1405, allocations: 0.5873 MB / 0.6322 GB, free: 5.285 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.1406, allocations: 88 kB / 0.6323 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004126/0.141, allocations: 211.9 kB / 0.6325 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.1413, allocations: 238.9 kB / 0.6328 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003798/0.1416, allocations: 0.4931 MB / 0.6332 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.1429, allocations: 1.241 MB / 0.6344 GB, free: 3.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.143, allocations: 0 / 0.6344 GB, free: 3.016 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.143, allocations: 0 / 0.6344 GB, free: 3.016 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.143, allocations: 0 / 0.6344 GB, free: 3.016 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.006879/0.1499, allocations: 2.161 MB / 0.6366 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.1499, allocations: 19.98 kB / 0.6366 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.1501, allocations: 106.7 kB / 0.6367 GB, free: 0.668 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004232/0.1543, allocations: 0.6474 MB / 0.6373 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.1554, allocations: 0.659 MB / 0.638 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.1556, allocations: 176.1 kB / 0.6381 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.1557, allocations: 60 kB / 0.6382 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.1576, allocations: 0.8575 MB / 0.639 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.1576, allocations: 0 / 0.639 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.862e-05/0.1577, allocations: 28 kB / 0.639 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.1577, allocations: 15.94 kB / 0.6391 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.1597, allocations: 0.903 MB / 0.6399 GB, free: 13.25 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.004359/0.1641, allocations: 2.413 MB / 0.6423 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.1659, allocations: 1.052 MB / 0.6433 GB, free: 9.598 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.1673, allocations: 0.6409 MB / 0.644 GB, free: 8.957 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.328e-05/0.1674, allocations: 12.64 kB / 0.644 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1674, allocations: 39.22 kB / 0.644 GB, free: 8.898 MB / 462.1 MB Notification: Performance of pre-optimization done (n=79): time 2.635e-06/0.1674, allocations: 0 / 0.644 GB, free: 8.898 MB / 462.1 MB Notification: Performance of matching and sorting (n=79): time 0.02059/0.188, allocations: 5.294 MB / 0.6492 GB, free: 3.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.1881, allocations: 64 kB / 0.6492 GB, free: 3.496 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.1891, allocations: 0.7512 MB / 0.65 GB, free: 2.738 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000188/0.1893, allocations: 37.7 kB / 0.65 GB, free: 2.695 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.1896, allocations: 409.2 kB / 0.6504 GB, free: 2.289 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003088/0.1899, allocations: 297.4 kB / 0.6507 GB, free: 1.996 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/0.1903, allocations: 178.6 kB / 0.6508 GB, free: 1.812 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.1905, allocations: 341.9 kB / 0.6512 GB, free: 1.473 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.1919, allocations: 0.6032 MB / 0.6518 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.1933, allocations: 0.7085 MB / 0.6525 GB, free: 140 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.1961, allocations: 1.315 MB / 0.6537 GB, free: 14.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.1961, allocations: 4 kB / 0.6537 GB, free: 14.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0118/0.2079, allocations: 3.56 MB / 0.6572 GB, free: 11.22 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.208, allocations: 4 kB / 0.6572 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.208, allocations: 8.188 kB / 0.6572 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005844/0.2139, allocations: 1.499 MB / 0.6587 GB, free: 9.707 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009257/0.2148, allocations: 167.8 kB / 0.6589 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/0.2343, allocations: 8.169 MB / 0.6668 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.2356, allocations: 147.5 kB / 0.667 GB, free: 1.082 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.2357, allocations: 35.98 kB / 0.667 GB, free: 1.047 MB / 478.1 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (91): * Single equations (assignments): 90 * 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 {(19,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004796/0.2362, allocations: 223.2 kB / 0.6672 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.2365, allocations: 95.39 kB / 0.6673 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.2476, allocations: 3.29 MB / 0.6705 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.2476, allocations: 11.94 kB / 0.6705 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2477, allocations: 4 kB / 0.6705 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.2477, allocations: 3.984 kB / 0.6705 GB, free: 13.4 MB / 494.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.01302/0.2607, allocations: 4.609 MB / 0.675 GB, free: 8.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.2607, allocations: 0 / 0.675 GB, free: 8.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006167/0.2614, allocations: 91.88 kB / 0.6751 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005319/0.2667, allocations: 1.454 MB / 0.6765 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.2668, allocations: 16 kB / 0.6766 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01631/0.2831, allocations: 7.058 MB / 0.6835 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2832, allocations: 0 / 0.6835 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/0.2962, allocations: 4.118 MB / 0.6875 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/0.2966, allocations: 184.3 kB / 0.6877 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/0.2968, allocations: 15.98 kB / 0.6877 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009632/0.2978, allocations: 87.84 kB / 0.6878 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005518/0.2983, allocations: 164.4 kB / 0.6879 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.471e-05/0.2984, allocations: 23.98 kB / 0.6879 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007069/0.2991, allocations: 0.5068 MB / 0.6884 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2992, allocations: 0 / 0.6884 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001207/0.3004, allocations: 363.7 kB / 0.6888 GB, free: 10.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (48): * Single equations (assignments): 47 * 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 {(20,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01355/0.3139, allocations: 4.685 MB / 0.6934 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006211/0.3202, allocations: 2.091 MB / 0.6954 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3202, allocations: 0 / 0.6954 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00414/0.3244, allocations: 1.319 MB / 0.6967 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.3255, allocations: 79.3 kB / 0.6968 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03406/0.3596, allocations: 12.86 MB / 0.7093 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007241/0.3603, allocations: 1.009 MB / 0.7103 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00047/0.3608, allocations: 89.45 kB / 0.7104 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000538/0.3614, allocations: 343.3 kB / 0.7107 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of SimCode: time 1.282e-06/0.3614, allocations: 0 / 0.7107 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3189/0.6803, allocations: 28.64 MB / 0.7387 GB, free: 79.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.2, allocations: 17.47 kB / 0.7387 GB, free: 79.36 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestVoltDependant.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe 2>&1)