Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",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.001204/0.001204, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 239.3 MB, free: 4.59 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.001527/0.001527, allocations: 196.4 kB / 289.6 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5266/0.5266, allocations: 91.9 MB / 431.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 75.88 kB / 0.502 GB, free: 7.633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3804, allocations: 71.26 MB / 0.5716 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.005034/0.3855, allocations: 5.382 MB / 0.5768 GB, free: 33.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.3881, allocations: 1.652 MB / 0.5784 GB, free: 32.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003755/0.3885, allocations: 9.031 kB / 0.5784 GB, free: 32.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.389, allocations: 185.6 kB / 0.5786 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.3904, allocations: 0.6426 MB / 0.5793 GB, free: 32.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.3915, allocations: 0.4924 MB / 0.5797 GB, free: 31.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.3928, allocations: 1.101 MB / 0.5808 GB, free: 31.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.3933, allocations: 255 kB / 0.5811 GB, free: 31.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006905/0.394, allocations: 479 kB / 0.5815 GB, free: 30.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006609/0.3946, allocations: 0.6162 MB / 0.5821 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.3948, allocations: 86.38 kB / 0.5822 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000537/0.3953, allocations: 222.6 kB / 0.5824 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.3955, allocations: 245.3 kB / 0.5826 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003815/0.3959, allocations: 0.5097 MB / 0.5831 GB, free: 30.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.3972, allocations: 1.25 MB / 0.5844 GB, free: 29.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3972, allocations: 0 / 0.5844 GB, free: 29.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3972, allocations: 0 / 0.5844 GB, free: 29.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.3972, allocations: 0 / 0.5844 GB, free: 29.58 MB / 430.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.007297/0.4045, allocations: 2.176 MB / 0.5865 GB, free: 28.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.4046, allocations: 15.95 kB / 0.5865 GB, free: 28.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.4047, allocations: 108.9 kB / 0.5866 GB, free: 28.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004385/0.4091, allocations: 0.6499 MB / 0.5872 GB, free: 28.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.4106, allocations: 0.6536 MB / 0.5879 GB, free: 27.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.4108, allocations: 178.6 kB / 0.588 GB, free: 27.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.411, allocations: 65.97 kB / 0.5881 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.413, allocations: 0.8916 MB / 0.589 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.413, allocations: 0 / 0.589 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-05/0.4131, allocations: 23.19 kB / 0.589 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.4132, allocations: 23.45 kB / 0.589 GB, free: 27.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.4152, allocations: 0.9196 MB / 0.5899 GB, free: 27.04 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 preOpt removeSimpleEquations (simulation): time 0.004289/0.4195, allocations: 2.48 MB / 0.5923 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.4214, allocations: 1.122 MB / 0.5934 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.4227, allocations: 0.6565 MB / 0.5941 GB, free: 24.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-05/0.4228, allocations: 13.83 kB / 0.5941 GB, free: 24.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.4228, allocations: 46.47 kB / 0.5941 GB, free: 24.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.915e-06/0.4228, allocations: 0 / 0.5941 GB, free: 24.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02313/0.4459, allocations: 5.531 MB / 0.5995 GB, free: 23.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.446, allocations: 61.28 kB / 0.5996 GB, free: 23.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.4474, allocations: 0.7615 MB / 0.6003 GB, free: 23.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002113/0.4476, allocations: 41.39 kB / 0.6004 GB, free: 23.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.4479, allocations: 398.5 kB / 0.6008 GB, free: 22.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.4482, allocations: 303.6 kB / 0.6011 GB, free: 22.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003905/0.4486, allocations: 184.7 kB / 0.6012 GB, free: 22.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.4488, allocations: 351.4 kB / 0.6016 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.4502, allocations: 0.6167 MB / 0.6022 GB, free: 21.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.4517, allocations: 0.7284 MB / 0.6029 GB, free: 21.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01697/0.4687, allocations: 4.232 MB / 0.607 GB, free: 20.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.4687, allocations: 1.062 kB / 0.607 GB, free: 20.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0118/0.4805, allocations: 3.583 MB / 0.6105 GB, free: 19.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.4806, allocations: 12.97 kB / 0.6105 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4806, allocations: 2.188 kB / 0.6105 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005643/0.4863, allocations: 1.514 MB / 0.612 GB, free: 19.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.4873, allocations: 184.9 kB / 0.6122 GB, free: 19.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/0.5045, allocations: 8.165 MB / 0.6202 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/0.5063, allocations: 139.1 kB / 0.6203 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-05/0.5064, allocations: 39.98 kB / 0.6203 GB, free: 12.2 MB / 430.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.0005255/0.507, allocations: 228.5 kB / 0.6205 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.5071, allocations: 94.78 kB / 0.6206 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01026/0.5174, allocations: 3.407 MB / 0.624 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.5175, allocations: 11.94 kB / 0.624 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5175, allocations: 0 / 0.624 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.5175, allocations: 3.984 kB / 0.624 GB, free: 8.441 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.01224/0.5298, allocations: 4.775 MB / 0.6286 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.5298, allocations: 4 kB / 0.6286 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000614/0.5304, allocations: 91.88 kB / 0.6287 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005202/0.5356, allocations: 1.538 MB / 0.6302 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.5358, allocations: 16 kB / 0.6302 GB, free: 1.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0157/0.5515, allocations: 7.359 MB / 0.6374 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5515, allocations: 3.984 kB / 0.6374 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/0.5648, allocations: 4.279 MB / 0.6416 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.5654, allocations: 183.7 kB / 0.6418 GB, free: 5.883 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.5655, allocations: 16 kB / 0.6418 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009257/0.5665, allocations: 91.77 kB / 0.6419 GB, free: 5.777 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006395/0.5671, allocations: 168.8 kB / 0.6421 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.718e-05/0.5672, allocations: 23.98 kB / 0.6421 GB, free: 5.586 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007469/0.5679, allocations: 0.5107 MB / 0.6426 GB, free: 5.078 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5679, allocations: 0 / 0.6426 GB, free: 5.078 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001271/0.5692, allocations: 383.6 kB / 0.6429 GB, free: 4.703 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.01378/0.583, allocations: 4.839 MB / 0.6477 GB, free: 15.83 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006468/0.5895, allocations: 2.176 MB / 0.6498 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5896, allocations: 0 / 0.6498 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004144/0.5937, allocations: 1.345 MB / 0.6511 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.5949, allocations: 80.69 kB / 0.6512 GB, free: 12.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03447/0.6293, allocations: 13.54 MB / 0.6644 GB, free: 14.36 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00079/0.6302, allocations: 1.025 MB / 0.6654 GB, free: 13.31 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004873/0.6307, allocations: 93.62 kB / 0.6655 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/0.6313, allocations: 363.3 kB / 0.6658 GB, free: 12.86 MB / 478.1 MB Notification: Performance of SimCode: time 8.61e-07/0.6313, allocations: 0 / 0.6658 GB, free: 12.86 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0651/0.6964, allocations: 29.38 MB / 0.6945 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.07, allocations: 8.047 kB / 0.6945 GB, free: 15.62 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)