Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007931/0.0007931, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8598/0.8598, allocations: 177.1 MB / 199.4 MB, free: 5.953 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009584/0.0009584, allocations: 168.1 kB / 256 MB, free: 13.36 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2711/0.2711, allocations: 80.36 MB / 392.7 MB, free: 2.367 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.TCSC_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.5549 GB, free: 12.64 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092e-05/1.263e-05, allocations: 6.281 kB / 0.5549 GB, free: 12.63 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.TCSC_Test): time 0.004086/0.004098, allocations: 5.372 MB / 0.5602 GB, free: 7.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.006233, allocations: 1.798 MB / 0.5619 GB, free: 5.43 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.006493, allocations: 19.88 kB / 0.5619 GB, free: 5.41 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.006938, allocations: 206.2 kB / 0.5621 GB, free: 5.207 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009358/0.007874, allocations: 0.7492 MB / 0.5629 GB, free: 4.453 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.008536, allocations: 0.57 MB / 0.5634 GB, free: 3.887 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008894/0.009426, allocations: 1.409 MB / 0.5648 GB, free: 2.473 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.009662, allocations: 183.7 kB / 0.565 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005769/0.01024, allocations: 0.787 MB / 0.5657 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.01064, allocations: 0.5062 MB / 0.5662 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.078e-05/0.01073, allocations: 96 kB / 0.5663 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002557/0.01099, allocations: 251.7 kB / 0.5666 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.01114, allocations: 274.8 kB / 0.5668 GB, free: 384 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.01136, allocations: 374.7 kB / 0.5672 GB, free: 8 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000941/0.01231, allocations: 1.444 MB / 0.5686 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.01231, allocations: 3.984 kB / 0.5686 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.333e-06/0.01231, allocations: 0 / 0.5686 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.01232, allocations: 0 / 0.5686 GB, free: 14.55 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003602/0.01592, allocations: 2.316 MB / 0.5709 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.01595, allocations: 12.03 kB / 0.5709 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.742e-05/0.01605, allocations: 102.7 kB / 0.571 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.01771, allocations: 0.5654 MB / 0.5715 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000812/0.01852, allocations: 0.728 MB / 0.5722 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.01869, allocations: 294.9 kB / 0.5725 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.6e-05/0.01877, allocations: 60 kB / 0.5726 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.0198, allocations: 0.8302 MB / 0.5734 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.01981, allocations: 4 kB / 0.5734 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/0.01986, allocations: 27.94 kB / 0.5734 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.01987, allocations: 16 kB / 0.5734 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.02097, allocations: 0.8522 MB / 0.5743 GB, free: 8.605 MB / 0.4948 GB 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.002985/0.02395, allocations: 2.372 MB / 0.5766 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.02695, allocations: 1.262 MB / 0.5778 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006504/0.02761, allocations: 0.4922 MB / 0.5783 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.86e-05/0.02766, allocations: 12.64 kB / 0.5783 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007638/0.02843, allocations: 0.6211 MB / 0.5789 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=74): time 1.893e-06/0.02843, allocations: 4 kB / 0.5789 GB, free: 3.766 MB / 0.4948 GB Notification: Performance of matching and sorting (n=74): time 0.009366/0.0378, allocations: 4.533 MB / 0.5833 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.03783, allocations: 60.06 kB / 0.5834 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/0.03865, allocations: 0.9816 MB / 0.5843 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.0387, allocations: 37.7 kB / 0.5844 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.03899, allocations: 476.8 kB / 0.5848 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.03914, allocations: 277.7 kB / 0.5851 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.03935, allocations: 178.6 kB / 0.5853 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.121e-05/0.03943, allocations: 341.9 kB / 0.5856 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007347/0.04016, allocations: 0.5524 MB / 0.5861 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007857/0.04095, allocations: 0.6594 MB / 0.5868 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008784/0.04973, allocations: 4.155 MB / 0.5908 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.04974, allocations: 0 / 0.5908 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004669/0.0544, allocations: 2.828 MB / 0.5936 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.05442, allocations: 8 kB / 0.5936 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.05443, allocations: 7.938 kB / 0.5936 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/0.05686, allocations: 1.268 MB / 0.5949 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.05731, allocations: 187.7 kB / 0.595 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1939/0.2512, allocations: 5.467 MB / 0.6004 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008515/0.2521, allocations: 149.9 kB / 0.6005 GB, free: 91.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.2521, allocations: 35.44 kB / 0.6006 GB, free: 91.21 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: Gen1.delta:VARIABLE(flow=false start = Gen1.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(14,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003038/0.2524, allocations: 241 kB / 0.6008 GB, free: 91.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.2526, allocations: 116.2 kB / 0.6009 GB, free: 91.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004201/0.2568, allocations: 2.639 MB / 0.6035 GB, free: 90.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.2568, allocations: 10.06 kB / 0.6035 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2568, allocations: 0 / 0.6035 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.2568, allocations: 4.312 kB / 0.6035 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004937/0.2617, allocations: 3.531 MB / 0.6069 GB, free: 89.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.2617, allocations: 0 / 0.6069 GB, free: 89.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.2619, allocations: 89 kB / 0.607 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002416/0.2644, allocations: 1.317 MB / 0.6083 GB, free: 89.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.2644, allocations: 21.66 kB / 0.6083 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007447/0.2719, allocations: 5.769 MB / 0.614 GB, free: 86.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2719, allocations: 0.6562 kB / 0.614 GB, free: 86.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005435/0.2773, allocations: 3.368 MB / 0.6172 GB, free: 85.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.2774, allocations: 126 kB / 0.6174 GB, free: 85.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.39e-05/0.2775, allocations: 15.14 kB / 0.6174 GB, free: 85.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.278, allocations: 87.78 kB / 0.6175 GB, free: 85.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/0.2783, allocations: 160.6 kB / 0.6176 GB, free: 84.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/0.2783, allocations: 19.12 kB / 0.6176 GB, free: 84.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006387/0.279, allocations: 0.6598 MB / 0.6183 GB, free: 84.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.279, allocations: 0 / 0.6183 GB, free: 84.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007318/0.2797, allocations: 361 kB / 0.6186 GB, free: 84.65 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tCSC.PIcontroller.x_scaled[1],tCSC.X1.state,Gen1.delta,Gen1.w) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(15,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00595/0.2856, allocations: 3.925 MB / 0.6225 GB, free: 83.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002909/0.2886, allocations: 1.712 MB / 0.6241 GB, free: 82.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2886, allocations: 1.156 kB / 0.6241 GB, free: 82.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.2904, allocations: 1.093 MB / 0.6252 GB, free: 82.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.2909, allocations: 93.38 kB / 0.6253 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/0.3063, allocations: 11.94 MB / 0.637 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.3066, allocations: 463.7 kB / 0.6374 GB, free: 77.06 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000213/0.3068, allocations: 100.2 kB / 0.6375 GB, free: 77.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.3071, allocations: 402.1 kB / 0.6379 GB, free: 76.74 MB / 0.5105 GB Notification: Performance of SimCode: time 1.282e-06/0.3071, allocations: 0 / 0.6379 GB, free: 76.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03959/0.3467, allocations: 30.07 MB / 0.6672 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.389/9.735, allocations: 0 / 0.6672 GB, free: 49.55 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_FACTS_TCSC_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.TCSC_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.027585119009018] Failed to read output from testmodel.py, exit status != 0: 9.841012569144368 9.84894536 9.835231308 Calling exit ...