Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.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.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",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.001485/0.001485, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.5 MB / 229.6 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000934/0.0009339, allocations: 93.69 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4956/0.4956, allocations: 78.94 MB / 410.2 MB, free: 5.965 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.127e-05/2.122e-05, allocations: 4 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.154, allocations: 69.52 MB / 0.5425 GB, free: 5.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4729/0.627, allocations: 116.2 MB / 0.656 GB, free: 13.72 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.6273, allocations: 85.55 kB / 0.6561 GB, free: 13.64 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1408/0.7682, allocations: 51.03 MB / 0.706 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7682, allocations: 0 / 0.706 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002349/0.7685, allocations: 36 kB / 0.706 GB, free: 10.59 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.008397/0.7769, allocations: 2.488 MB / 0.7084 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.7769, allocations: 8.031 kB / 0.7084 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004714/0.7816, allocations: 0.7347 MB / 0.7091 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004043/0.7857, allocations: 1.285 MB / 0.7104 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007291/0.7865, allocations: 0.5369 MB / 0.7109 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006574/0.7872, allocations: 83.91 kB / 0.711 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003462/0.7906, allocations: 1.308 MB / 0.7123 GB, free: 3.949 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003579/0.7942, allocations: 1.374 MB / 0.7136 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/0.7943, allocations: 0 / 0.7136 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002324/0.7945, allocations: 3.984 kB / 0.7136 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/0.7946, allocations: 37.2 kB / 0.7137 GB, free: 2.484 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01421/0.8088, allocations: 6.112 MB / 0.7196 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008127/0.817, allocations: 3.411 MB / 0.723 GB, free: 8.617 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.8187, allocations: 0.8224 MB / 0.7238 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006679/0.8194, allocations: 0.7339 MB / 0.7245 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001708/0.8211, allocations: 0.9827 MB / 0.7254 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=159): time 2.945e-06/0.8212, allocations: 4 kB / 0.7254 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of matching and sorting (n=159): time 0.016/0.8372, allocations: 5.11 MB / 0.7304 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/0.8373, allocations: 145.8 kB / 0.7306 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/0.8398, allocations: 1.342 MB / 0.7319 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005094/0.8403, allocations: 25.7 kB / 0.7319 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006618/0.841, allocations: 0.8172 MB / 0.7327 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007158/0.8417, allocations: 0.5388 MB / 0.7332 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.8418, allocations: 1.125 kB / 0.7332 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.842, allocations: 369.8 kB / 0.7336 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.8432, allocations: 0.6797 MB / 0.7343 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.8445, allocations: 0.8858 MB / 0.7351 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.8461, allocations: 0.7829 MB / 0.7359 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.8462, allocations: 0 / 0.7359 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=214) (initialization): time 0.00483/0.851, allocations: 2.357 MB / 0.7382 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000669/0.8517, allocations: 1.738 MB / 0.7399 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.77e-05/0.8517, allocations: 7.984 kB / 0.7399 GB, free: 6.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00773/0.8595, allocations: 2.293 MB / 0.7421 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.8611, allocations: 299.5 kB / 0.7424 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004811/0.8659, allocations: 2.419 MB / 0.7448 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/0.8688, allocations: 271.1 kB / 0.745 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.869, allocations: 59.98 kB / 0.7451 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.869, allocations: 4 kB / 0.7451 GB, free: 1.461 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004246/0.8733, allocations: 2.123 MB / 0.7472 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.8733, allocations: 8.094 kB / 0.7472 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007574/0.8809, allocations: 2.289 MB / 0.7494 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/0.8824, allocations: 291.6 kB / 0.7497 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004948/0.8874, allocations: 2.421 MB / 0.7521 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/0.8903, allocations: 250.6 kB / 0.7523 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.8905, allocations: 59.97 kB / 0.7523 GB, free: 10 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,iEEEG1.limIntegrator.local_reset,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004694/0.891, allocations: 142.4 kB / 0.7525 GB, free: 9.859 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01535/0.9064, allocations: 5.114 MB / 0.7575 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/0.9076, allocations: 197.6 kB / 0.7577 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3329/1.241, allocations: 5.252 MB / 0.7628 GB, free: 127 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.214e-05/1.241, allocations: 16.72 kB / 0.7628 GB, free: 127 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.241, allocations: 2.594 kB / 0.7628 GB, free: 127 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.677e-05/1.241, allocations: 12.59 kB / 0.7628 GB, free: 127 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.01797/1.259, allocations: 7.587 MB / 0.7702 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.259, allocations: 0 / 0.7702 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/1.26, allocations: 226 kB / 0.7705 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006095/1.266, allocations: 1.993 MB / 0.7724 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002472/1.267, allocations: 16.45 kB / 0.7724 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01739/1.284, allocations: 7.711 MB / 0.7799 GB, free: 125 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.284, allocations: 0 / 0.7799 GB, free: 125 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02058/1.305, allocations: 6.411 MB / 0.7862 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/1.306, allocations: 324.9 kB / 0.7865 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005118/1.307, allocations: 10.89 kB / 0.7865 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002095/1.309, allocations: 188.4 kB / 0.7867 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00118/1.31, allocations: 283.8 kB / 0.787 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/1.31, allocations: 43.64 kB / 0.787 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002175/1.312, allocations: 1.017 MB / 0.788 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.11e-07/1.312, allocations: 0 / 0.788 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003805/1.316, allocations: 0.8456 MB / 0.7888 GB, free: 124.2 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,iEEEG1.imLeadLag.TF.x_scaled[1],iEEEG1.imSimpleLag.state,iEEEG1.imSimpleLag1.state,iEEEG1.imSimpleLag2.state,iEEEG1.imSimpleLag3.state,iEEEG1.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.021/1.337, allocations: 7.161 MB / 0.7958 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01507/1.352, allocations: 4.481 MB / 0.8002 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.352, allocations: 0 / 0.8002 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006515/1.359, allocations: 1.969 MB / 0.8021 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/1.361, allocations: 145.1 kB / 0.8023 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007987/1.369, allocations: 3.36 MB / 0.8055 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/1.37, allocations: 1.447 MB / 0.807 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001774/1.372, allocations: 309.6 kB / 0.8073 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009298/1.373, allocations: 0.757 MB / 0.808 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/1.373, allocations: 0 / 0.808 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08593/1.459, allocations: 49.55 MB / 0.8564 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/1.459, allocations: 118.9 kB / 0.8565 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.799/5.257, allocations: 4.031 kB / 0.8565 GB, free: 111.9 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1)