Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 175.8 kB / 15.42 MB, free: 5.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.8 MB / 239 MB, free: 96 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007627/0.0007627, allocations: 98.05 kB / 289.8 MB, free: 4.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.2999/0.2999, allocations: 78.44 MB / 419 MB, free: 48 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003374, allocations: 12 kB / 498.5 MB, free: 35.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.312, allocations: 68.73 MB / 0.554 GB, free: 10.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.005795/0.3179, allocations: 5.614 MB / 0.5595 GB, free: 6.801 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.3206, allocations: 1.689 MB / 0.5611 GB, free: 5.602 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003894/0.321, allocations: 9.094 kB / 0.5611 GB, free: 5.602 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.3215, allocations: 141.8 kB / 0.5612 GB, free: 5.543 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.3228, allocations: 0.5731 MB / 0.5618 GB, free: 5.168 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009134/0.3237, allocations: 477.1 kB / 0.5623 GB, free: 4.906 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000906/0.3246, allocations: 1.055 MB / 0.5633 GB, free: 4.387 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003175/0.3249, allocations: 236.1 kB / 0.5635 GB, free: 4.266 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005026/0.3255, allocations: 411.9 kB / 0.5639 GB, free: 4.082 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005878/0.3261, allocations: 0.5625 MB / 0.5645 GB, free: 3.832 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.3262, allocations: 44 kB / 0.5645 GB, free: 3.832 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.3266, allocations: 173.7 kB / 0.5647 GB, free: 3.789 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.3268, allocations: 203.5 kB / 0.5649 GB, free: 3.672 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003726/0.3271, allocations: 468.7 kB / 0.5653 GB, free: 3.375 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.3283, allocations: 1.188 MB / 0.5665 GB, free: 2.918 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3283, allocations: 0 / 0.5665 GB, free: 2.918 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3283, allocations: 4 kB / 0.5665 GB, free: 2.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.3283, allocations: 0 / 0.5665 GB, free: 2.914 MB / 378.7 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.006096/0.3344, allocations: 1.979 MB / 0.5684 GB, free: 2.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3345, allocations: 9.344 kB / 0.5684 GB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.3346, allocations: 115 kB / 0.5685 GB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/0.3387, allocations: 0.6444 MB / 0.5692 GB, free: 1.789 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009065/0.3396, allocations: 0.6543 MB / 0.5698 GB, free: 1.312 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.3398, allocations: 185.5 kB / 0.57 GB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.3399, allocations: 66.94 kB / 0.57 GB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.3417, allocations: 0.8784 MB / 0.5709 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3418, allocations: 0 / 0.5709 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.3419, allocations: 25.66 kB / 0.5709 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.3419, allocations: 18 kB / 0.5709 GB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.3438, allocations: 0.9248 MB / 0.5718 GB, free: 0.5039 MB / 378.7 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.004709/0.3485, allocations: 2.48 MB / 0.5743 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.3506, allocations: 1.127 MB / 0.5754 GB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.352, allocations: 0.6612 MB / 0.576 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.3521, allocations: 17.33 kB / 0.576 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.3521, allocations: 46.44 kB / 0.5761 GB, free: 14.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=83): time 3.576e-06/0.3521, allocations: 1.219 kB / 0.5761 GB, free: 14.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=83): time 0.02133/0.3735, allocations: 5.525 MB / 0.5815 GB, free: 11.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3735, allocations: 64.66 kB / 0.5815 GB, free: 11.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.3747, allocations: 0.7596 MB / 0.5823 GB, free: 10.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002112/0.3749, allocations: 40.42 kB / 0.5823 GB, free: 10.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.3752, allocations: 399.6 kB / 0.5827 GB, free: 10.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.3755, allocations: 300.7 kB / 0.583 GB, free: 10.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.3756, allocations: 96.38 kB / 0.5831 GB, free: 10.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.3758, allocations: 347.8 kB / 0.5834 GB, free: 9.699 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.3771, allocations: 0.6161 MB / 0.584 GB, free: 9.395 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.3785, allocations: 0.7312 MB / 0.5847 GB, free: 8.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01647/0.395, allocations: 4.226 MB / 0.5888 GB, free: 6.891 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.395, allocations: 0 / 0.5888 GB, free: 6.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01103/0.406, allocations: 3.593 MB / 0.5923 GB, free: 3.707 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.4061, allocations: 8 kB / 0.5923 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.4061, allocations: 0 / 0.5923 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005098/0.4112, allocations: 1.507 MB / 0.5938 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009526/0.4122, allocations: 179.8 kB / 0.594 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/0.4282, allocations: 7.528 MB / 0.6013 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.4295, allocations: 139.1 kB / 0.6015 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-05/0.4296, allocations: 35.98 kB / 0.6015 GB, free: 10.17 MB / 410.7 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.0004404/0.4301, allocations: 238.1 kB / 0.6017 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.4303, allocations: 98.78 kB / 0.6018 GB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/0.4407, allocations: 3.399 MB / 0.6052 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.4407, allocations: 8 kB / 0.6052 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.4407, allocations: 0 / 0.6052 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-05/0.4408, allocations: 3.984 kB / 0.6052 GB, free: 6.406 MB / 410.7 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.01274/0.4535, allocations: 4.786 MB / 0.6098 GB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.4536, allocations: 0 / 0.6098 GB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006019/0.4542, allocations: 95.88 kB / 0.6099 GB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005211/0.4594, allocations: 1.53 MB / 0.6114 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00015/0.4596, allocations: 23.92 kB / 0.6114 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01432/0.4739, allocations: 6.694 MB / 0.618 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4739, allocations: 0 / 0.618 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/0.4859, allocations: 4.29 MB / 0.6222 GB, free: 4.703 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.4863, allocations: 183.7 kB / 0.6223 GB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.4864, allocations: 19.98 kB / 0.6224 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008333/0.4873, allocations: 87.91 kB / 0.6225 GB, free: 4.398 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005241/0.4878, allocations: 164.7 kB / 0.6226 GB, free: 4.238 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/0.4879, allocations: 20 kB / 0.6226 GB, free: 4.219 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005984/0.4885, allocations: 0.5146 MB / 0.6231 GB, free: 3.707 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4885, allocations: 0 / 0.6231 GB, free: 3.707 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001028/0.4895, allocations: 379.6 kB / 0.6235 GB, free: 3.336 MB / 426.7 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.01269/0.5022, allocations: 4.85 MB / 0.6282 GB, free: 14.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00536/0.5076, allocations: 2.09 MB / 0.6303 GB, free: 12.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5076, allocations: 0 / 0.6303 GB, free: 12.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003439/0.5111, allocations: 1.312 MB / 0.6316 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007946/0.5119, allocations: 75.3 kB / 0.6316 GB, free: 10.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03104/0.5429, allocations: 13.86 MB / 0.6452 GB, free: 12.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.5435, allocations: 1.025 MB / 0.6462 GB, free: 11.73 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004753/0.544, allocations: 89.62 kB / 0.6462 GB, free: 11.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004447/0.5444, allocations: 363.3 kB / 0.6466 GB, free: 11.28 MB / 458.7 MB Notification: Performance of SimCode: time 6.51e-07/0.5445, allocations: 0 / 0.6466 GB, free: 11.28 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04222/0.5867, allocations: 26.7 MB / 0.6727 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.5869, allocations: 216.4 kB / 0.6729 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/3.32, allocations: 0 / 0.6729 GB, free: 0.5117 MB / 474.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)