Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.LoadTestMixed,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",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.118/0.118, allocations: 12.6 MB / 28.1 MB, free: 184 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.001185/0.001185, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.363/1.363, 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.001334/0.001334, allocations: 187.5 kB / 290.6 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4273/0.4273, allocations: 78.49 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.002806/0.002807, allocations: 148.9 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2955, allocations: 68.1 MB / 0.5547 GB, free: 32.71 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.005806/0.3014, allocations: 5.396 MB / 0.5599 GB, free: 28.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.3046, allocations: 1.604 MB / 0.5615 GB, free: 27.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005468/0.3053, allocations: 8.094 kB / 0.5615 GB, free: 27.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004611/0.3057, allocations: 190.7 kB / 0.5617 GB, free: 27.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.3072, allocations: 0.6333 MB / 0.5623 GB, free: 26.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009815/0.3082, allocations: 0.5067 MB / 0.5628 GB, free: 26.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000963/0.3092, allocations: 1.094 MB / 0.5639 GB, free: 25.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.3095, allocations: 276.3 kB / 0.5641 GB, free: 25.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004903/0.31, allocations: 470.8 kB / 0.5646 GB, free: 25.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005607/0.3106, allocations: 0.6205 MB / 0.5652 GB, free: 25.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.3108, allocations: 85.66 kB / 0.5653 GB, free: 25.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004212/0.3112, allocations: 219.6 kB / 0.5655 GB, free: 24.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.3114, allocations: 242.7 kB / 0.5657 GB, free: 24.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003409/0.3117, allocations: 0.5156 MB / 0.5662 GB, free: 24.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.3127, allocations: 1.248 MB / 0.5674 GB, free: 23.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3127, allocations: 0 / 0.5674 GB, free: 23.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3128, allocations: 0 / 0.5674 GB, free: 23.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.3128, allocations: 5.078 kB / 0.5675 GB, free: 23.46 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.006935/0.3197, allocations: 2.165 MB / 0.5696 GB, free: 22.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3198, allocations: 17.83 kB / 0.5696 GB, free: 22.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.3199, allocations: 108.2 kB / 0.5697 GB, free: 21.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0041/0.324, allocations: 0.648 MB / 0.5703 GB, free: 21.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009362/0.325, allocations: 0.6559 MB / 0.571 GB, free: 21.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.3252, allocations: 178.2 kB / 0.5711 GB, free: 21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.3253, allocations: 65.88 kB / 0.5712 GB, free: 20.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.3271, allocations: 0.8788 MB / 0.5721 GB, free: 20.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.3271, allocations: 1.156 kB / 0.5721 GB, free: 20.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.8e-05/0.3272, allocations: 32.69 kB / 0.5721 GB, free: 20.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.3272, allocations: 18.72 kB / 0.5721 GB, free: 20.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.3291, allocations: 0.9295 MB / 0.573 GB, free: 20.01 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.003928/0.333, allocations: 2.476 MB / 0.5754 GB, free: 18.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.3347, allocations: 1.131 MB / 0.5765 GB, free: 16.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/0.3358, allocations: 0.6601 MB / 0.5772 GB, free: 16.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.341e-05/0.3359, allocations: 16.97 kB / 0.5772 GB, free: 16.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.336, allocations: 39.56 kB / 0.5772 GB, free: 16.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.124e-06/0.336, allocations: 3.938 kB / 0.5772 GB, free: 16.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.02051/0.3565, allocations: 5.533 MB / 0.5826 GB, free: 10.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.3566, allocations: 60.41 kB / 0.5827 GB, free: 10.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000832/0.3574, allocations: 0.7592 MB / 0.5834 GB, free: 9.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001701/0.3576, allocations: 45.64 kB / 0.5835 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.3578, allocations: 392.8 kB / 0.5839 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.3581, allocations: 303.7 kB / 0.5841 GB, free: 8.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003105/0.3584, allocations: 178.8 kB / 0.5843 GB, free: 8.738 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.698e-05/0.3584, allocations: 353.9 kB / 0.5847 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.3596, allocations: 0.6194 MB / 0.5853 GB, free: 7.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.3609, allocations: 0.7271 MB / 0.586 GB, free: 7.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01584/0.3767, allocations: 4.225 MB / 0.5901 GB, free: 2.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.3768, allocations: 4 kB / 0.5901 GB, free: 2.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01105/0.3878, allocations: 3.591 MB / 0.5936 GB, free: 15.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.3879, allocations: 4 kB / 0.5936 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.3879, allocations: 4 kB / 0.5936 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00583/0.3938, allocations: 1.511 MB / 0.5951 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.3948, allocations: 191.7 kB / 0.5953 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02017/0.415, allocations: 8.144 MB / 0.6032 GB, free: 5.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.4166, allocations: 147.1 kB / 0.6034 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.4168, allocations: 35.98 kB / 0.6034 GB, free: 4.965 MB / 414.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) 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 (97): * Single equations (assignments): 96 * 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.0006096/0.4174, allocations: 245 kB / 0.6036 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.4178, allocations: 98.78 kB / 0.6037 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/0.4294, allocations: 3.399 MB / 0.607 GB, free: 1.211 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.4295, allocations: 15.88 kB / 0.6071 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4295, allocations: 4 kB / 0.6071 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.396e-05/0.4295, allocations: 3.984 kB / 0.6071 GB, free: 1.188 MB / 414.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.01429/0.4438, allocations: 4.775 MB / 0.6117 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.4439, allocations: 0 / 0.6117 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006707/0.4446, allocations: 95.88 kB / 0.6118 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005922/0.4505, allocations: 1.535 MB / 0.6133 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/0.4507, allocations: 16 kB / 0.6133 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01737/0.4681, allocations: 7.352 MB / 0.6205 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4681, allocations: 0 / 0.6205 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/0.482, allocations: 4.279 MB / 0.6247 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.4825, allocations: 175.8 kB / 0.6249 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/0.4828, allocations: 16 kB / 0.6249 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.4839, allocations: 91.83 kB / 0.625 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006186/0.4845, allocations: 168.8 kB / 0.6251 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.4846, allocations: 23.98 kB / 0.6252 GB, free: 14.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007204/0.4854, allocations: 0.5223 MB / 0.6257 GB, free: 13.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4854, allocations: 0 / 0.6257 GB, free: 13.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001387/0.4868, allocations: 375.6 kB / 0.626 GB, free: 13.48 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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 (49): * Single equations (assignments): 48 * 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,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01404/0.5008, allocations: 4.843 MB / 0.6307 GB, free: 8.605 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00648/0.5073, allocations: 2.186 MB / 0.6329 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5074, allocations: 0 / 0.6329 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00417/0.5116, allocations: 1.341 MB / 0.6342 GB, free: 5.059 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.5127, allocations: 87.53 kB / 0.6343 GB, free: 4.973 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03455/0.5472, allocations: 13.53 MB / 0.6475 GB, free: 7.137 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/0.548, allocations: 1.021 MB / 0.6485 GB, free: 6.086 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000465/0.5484, allocations: 93.62 kB / 0.6486 GB, free: 5.992 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005602/0.549, allocations: 371.2 kB / 0.6489 GB, free: 5.629 MB / 462.1 MB Notification: Performance of SimCode: time 5.82e-07/0.549, allocations: 3.938 kB / 0.6489 GB, free: 5.625 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06424/0.6133, allocations: 29.4 MB / 0.6776 GB, free: 8.277 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.23, allocations: 18.75 kB / 0.6777 GB, free: 8.262 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed_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_LoadTestMixed.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)