Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.0008804/0.0008806, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.3 MB / 239.4 MB, free: 5.406 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.001332/0.001332, allocations: 172.6 kB / 290.6 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5866/0.5866, allocations: 91.93 MB / 433.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006272/0.000627, allocations: 8 kB / 0.5049 GB, free: 7.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5669/0.5676, allocations: 72.47 MB / 0.5756 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.00505/0.5727, allocations: 5.709 MB / 0.5812 GB, free: 32.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003264/0.576, allocations: 1.804 MB / 0.583 GB, free: 31.53 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004136/0.5764, allocations: 11.19 kB / 0.583 GB, free: 31.53 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004346/0.5769, allocations: 160 kB / 0.5831 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.5784, allocations: 0.6115 MB / 0.5837 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.5795, allocations: 0.5254 MB / 0.5842 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.5807, allocations: 1.195 MB / 0.5854 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.581, allocations: 241.8 kB / 0.5856 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000469/0.5815, allocations: 478.3 kB / 0.5861 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005468/0.5821, allocations: 0.5879 MB / 0.5867 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.5822, allocations: 50.56 kB / 0.5867 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003958/0.5826, allocations: 184.3 kB / 0.5869 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.5827, allocations: 195.5 kB / 0.5871 GB, free: 29.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003661/0.5831, allocations: 0.5216 MB / 0.5876 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009532/0.5841, allocations: 1.276 MB / 0.5888 GB, free: 28.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.5841, allocations: 6.719 kB / 0.5888 GB, free: 28.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5841, allocations: 0 / 0.5888 GB, free: 28.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.5841, allocations: 0 / 0.5888 GB, free: 28.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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007002/0.5911, allocations: 2.187 MB / 0.591 GB, free: 27.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.5912, allocations: 9.969 kB / 0.591 GB, free: 27.63 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002347/0.5914, allocations: 113.3 kB / 0.5911 GB, free: 27.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005088/0.5965, allocations: 0.7677 MB / 0.5918 GB, free: 27.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.5978, allocations: 0.699 MB / 0.5925 GB, free: 26.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003146/0.5982, allocations: 259.3 kB / 0.5928 GB, free: 26.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.5983, allocations: 69.28 kB / 0.5928 GB, free: 26.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.6007, allocations: 1.04 MB / 0.5939 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.6007, allocations: 1.125 kB / 0.5939 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.559e-05/0.6008, allocations: 25.12 kB / 0.5939 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.6008, allocations: 15.53 kB / 0.5939 GB, free: 26.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.6032, allocations: 1.065 MB / 0.5949 GB, free: 25.95 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.00623/0.6095, allocations: 3.287 MB / 0.5981 GB, free: 24.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/0.6118, allocations: 1.378 MB / 0.5995 GB, free: 23.17 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.6135, allocations: 0.7773 MB / 0.6003 GB, free: 22.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.831e-05/0.6136, allocations: 18.47 kB / 0.6003 GB, free: 22.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.6137, allocations: 40.5 kB / 0.6003 GB, free: 22.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.506e-06/0.6137, allocations: 0 / 0.6003 GB, free: 22.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.03208/0.6458, allocations: 8.055 MB / 0.6082 GB, free: 21.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.6459, allocations: 75.42 kB / 0.6082 GB, free: 21.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.6473, allocations: 0.7854 MB / 0.609 GB, free: 21.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002509/0.6475, allocations: 41.42 kB / 0.6091 GB, free: 21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003337/0.6479, allocations: 428.9 kB / 0.6095 GB, free: 20.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/0.6482, allocations: 303.3 kB / 0.6098 GB, free: 20.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.6484, allocations: 95.94 kB / 0.6098 GB, free: 20.37 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6486, allocations: 343.2 kB / 0.6102 GB, free: 20.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.6503, allocations: 0.7375 MB / 0.6109 GB, free: 19.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.6521, allocations: 0.8595 MB / 0.6117 GB, free: 19.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02047/0.6726, allocations: 5.013 MB / 0.6166 GB, free: 18.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/0.6727, allocations: 0 / 0.6166 GB, free: 18.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01525/0.6879, allocations: 4.998 MB / 0.6215 GB, free: 14.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/0.688, allocations: 8 kB / 0.6215 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.688, allocations: 0 / 0.6215 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006328/0.6944, allocations: 2.042 MB / 0.6235 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.6956, allocations: 191.7 kB / 0.6237 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02149/0.7171, allocations: 9.326 MB / 0.6328 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.7191, allocations: 195 kB / 0.633 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/0.7194, allocations: 32 kB / 0.633 GB, free: 2.312 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (101): * Single equations (assignments): 100 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0008054/0.7202, allocations: 225.6 kB / 0.6332 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004369/0.7207, allocations: 106.6 kB / 0.6333 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/0.7355, allocations: 4.723 MB / 0.6379 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/0.7356, allocations: 15.94 kB / 0.638 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.7356, allocations: 0 / 0.638 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.286e-05/0.7357, allocations: 11.92 kB / 0.638 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/0.7546, allocations: 6.258 MB / 0.6441 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.7546, allocations: 4 kB / 0.6441 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006458/0.7553, allocations: 95.89 kB / 0.6442 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006869/0.7622, allocations: 2.046 MB / 0.6462 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/0.7624, allocations: 16 kB / 0.6462 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02119/0.7836, allocations: 8.218 MB / 0.6542 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.7837, allocations: 0 / 0.6542 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01759/0.8013, allocations: 5.684 MB / 0.6598 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/0.8019, allocations: 191.6 kB / 0.66 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003486/0.8022, allocations: 16 kB / 0.66 GB, free: 6.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.8035, allocations: 127.9 kB / 0.6601 GB, free: 6.227 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007257/0.8043, allocations: 200.6 kB / 0.6603 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/0.8044, allocations: 20 kB / 0.6603 GB, free: 6.012 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009361/0.8053, allocations: 0.5303 MB / 0.6608 GB, free: 5.484 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8054, allocations: 0 / 0.6608 GB, free: 5.484 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001686/0.8071, allocations: 403.6 kB / 0.6612 GB, free: 5.09 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (50): * Single equations (assignments): 49 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01738/0.8244, allocations: 6.26 MB / 0.6673 GB, free: 14.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00758/0.8321, allocations: 2.56 MB / 0.6698 GB, free: 12.22 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.8321, allocations: 4.188 kB / 0.6698 GB, free: 12.22 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005325/0.8374, allocations: 1.703 MB / 0.6715 GB, free: 10.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.8387, allocations: 79.28 kB / 0.6716 GB, free: 10.42 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04398/0.8827, allocations: 16.89 MB / 0.6881 GB, free: 9.195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008761/0.8837, allocations: 1.029 MB / 0.6891 GB, free: 8.137 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004677/0.8842, allocations: 78.31 kB / 0.6891 GB, free: 8.059 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006904/0.8849, allocations: 371.3 kB / 0.6895 GB, free: 7.695 MB / 494.1 MB Notification: Performance of SimCode: time 9.61e-07/0.8849, allocations: 0 / 0.6895 GB, free: 7.695 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05474/0.9396, allocations: 27.66 MB / 0.7165 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002152/0.9399, allocations: 218.5 kB / 0.7167 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.616, allocations: 0 / 0.7167 GB, free: 11.95 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)