Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",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.001177/0.001177, allocations: 108 kB / 15.6 MB, free: 132 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.414/1.414, allocations: 222.9 MB / 239.3 MB, free: 4.602 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.001426/0.001426, allocations: 204.4 kB / 289.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4766/0.4766, allocations: 78.53 MB / 418.2 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 75.88 kB / 497.6 MB, free: 6.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1542, allocations: 68.18 MB / 0.5525 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.2824/0.4367, allocations: 6.425 MB / 0.5588 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003878/0.4406, allocations: 1.857 MB / 0.5606 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006685/0.4413, allocations: 11.28 kB / 0.5606 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.4419, allocations: 228 kB / 0.5608 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.4436, allocations: 0.7265 MB / 0.5615 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.445, allocations: 0.6043 MB / 0.5621 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.4464, allocations: 1.415 MB / 0.5635 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.4469, allocations: 319.8 kB / 0.5638 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006112/0.4475, allocations: 0.5856 MB / 0.5644 GB, free: 34.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006249/0.4481, allocations: 0.742 MB / 0.5651 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.4483, allocations: 99.62 kB / 0.5652 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004592/0.4488, allocations: 237.8 kB / 0.5654 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.449, allocations: 278.1 kB / 0.5657 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000509/0.4495, allocations: 0.6238 MB / 0.5663 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.451, allocations: 1.51 MB / 0.5677 GB, free: 33.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4511, allocations: 0 / 0.5677 GB, free: 33.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4511, allocations: 0.875 kB / 0.5677 GB, free: 33.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.4511, allocations: 0 / 0.5677 GB, free: 33.87 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.0078/0.4589, allocations: 2.563 MB / 0.5703 GB, free: 32.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.459, allocations: 10.09 kB / 0.5703 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/0.4591, allocations: 128.7 kB / 0.5704 GB, free: 32.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00474/0.4639, allocations: 0.7738 MB / 0.5711 GB, free: 32.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.465, allocations: 0.7755 MB / 0.5719 GB, free: 32.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002532/0.4653, allocations: 258 kB / 0.5721 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.4654, allocations: 78.94 kB / 0.5722 GB, free: 32.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.4676, allocations: 1.081 MB / 0.5733 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.4677, allocations: 0.6562 kB / 0.5733 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.783e-05/0.4678, allocations: 30.62 kB / 0.5733 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.4678, allocations: 18.38 kB / 0.5733 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.4703, allocations: 1.128 MB / 0.5744 GB, free: 32.16 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.005653/0.4759, allocations: 3.462 MB / 0.5778 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.4779, allocations: 1.424 MB / 0.5792 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.4794, allocations: 0.7811 MB / 0.58 GB, free: 29.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.622e-05/0.4795, allocations: 16.14 kB / 0.58 GB, free: 29.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.4795, allocations: 52.44 kB / 0.58 GB, free: 29.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.366e-06/0.4795, allocations: 0 / 0.58 GB, free: 29.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02604/0.5056, allocations: 6.607 MB / 0.5865 GB, free: 28.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.5057, allocations: 61.56 kB / 0.5865 GB, free: 28.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.5072, allocations: 0.9021 MB / 0.5874 GB, free: 28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000279/0.5075, allocations: 42.92 kB / 0.5875 GB, free: 27.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.5078, allocations: 0.4903 MB / 0.5879 GB, free: 27.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.5082, allocations: 352.9 kB / 0.5883 GB, free: 27.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004325/0.5086, allocations: 199.5 kB / 0.5885 GB, free: 27.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5087, allocations: 352.4 kB / 0.5888 GB, free: 26.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.5105, allocations: 0.7178 MB / 0.5895 GB, free: 26.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/0.5124, allocations: 0.8509 MB / 0.5903 GB, free: 26.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01906/0.5314, allocations: 4.838 MB / 0.5951 GB, free: 24.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.5315, allocations: 1.375 kB / 0.5951 GB, free: 24.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01451/0.546, allocations: 4.269 MB / 0.5992 GB, free: 23.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.5461, allocations: 11.25 kB / 0.5992 GB, free: 23.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.5461, allocations: 1.406 kB / 0.5992 GB, free: 23.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006922/0.553, allocations: 1.812 MB / 0.601 GB, free: 23.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.5544, allocations: 206.6 kB / 0.6012 GB, free: 23.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02357/0.578, allocations: 9.342 MB / 0.6103 GB, free: 18.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.5801, allocations: 170.6 kB / 0.6105 GB, free: 18.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.5802, allocations: 39.48 kB / 0.6105 GB, free: 18.49 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005931/0.5808, allocations: 252 kB / 0.6108 GB, free: 18.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.5811, allocations: 119.8 kB / 0.6109 GB, free: 18.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/0.5937, allocations: 4.012 MB / 0.6148 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.5938, allocations: 12 kB / 0.6148 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5938, allocations: 4.859 kB / 0.6148 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-05/0.5938, allocations: 4.641 kB / 0.6148 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01385/0.6077, allocations: 5.614 MB / 0.6203 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.6077, allocations: 0 / 0.6203 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007129/0.6085, allocations: 127.9 kB / 0.6204 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005443/0.6139, allocations: 1.757 MB / 0.6221 GB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/0.6141, allocations: 29.11 kB / 0.6222 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01699/0.6311, allocations: 8.07 MB / 0.63 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.6311, allocations: 4.875 kB / 0.6301 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/0.6469, allocations: 4.958 MB / 0.6349 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006462/0.6476, allocations: 207.4 kB / 0.6351 GB, free: 9.816 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/0.6478, allocations: 20 kB / 0.6351 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.6489, allocations: 111.8 kB / 0.6352 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007965/0.6497, allocations: 220.6 kB / 0.6354 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-05/0.6498, allocations: 24 kB / 0.6354 GB, free: 9.445 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007916/0.6506, allocations: 0.6024 MB / 0.636 GB, free: 8.836 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6506, allocations: 0 / 0.636 GB, free: 8.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001472/0.6521, allocations: 443.4 kB / 0.6365 GB, free: 8.398 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.01586/0.668, allocations: 5.543 MB / 0.6419 GB, free: 2.816 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008202/0.6762, allocations: 2.53 MB / 0.6443 GB, free: 292 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6763, allocations: 0 / 0.6443 GB, free: 292 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005316/0.6816, allocations: 1.585 MB / 0.6459 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.6829, allocations: 93.03 kB / 0.646 GB, free: 14.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04348/0.7264, allocations: 15.94 MB / 0.6615 GB, free: 14.28 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.7277, allocations: 1.11 MB / 0.6626 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006487/0.7283, allocations: 86.81 kB / 0.6627 GB, free: 13.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007805/0.7291, allocations: 447.3 kB / 0.6631 GB, free: 12.62 MB / 478.1 MB Notification: Performance of SimCode: time 8.62e-07/0.7291, allocations: 0 / 0.6631 GB, free: 12.62 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07985/0.809, allocations: 33.35 MB / 0.6957 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.8, allocations: 6.281 kB / 0.6957 GB, free: 11.61 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)