Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",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.001509/0.001509, allocations: 171.9 kB / 7.646 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.417/1.417, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.001148/0.001148, allocations: 78.06 kB / 280.4 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.485/0.485, allocations: 78.95 MB / 410.2 MB, free: 5.984 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.328e-05, allocations: 4 kB / 486 MB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1443, allocations: 69.51 MB / 0.5425 GB, free: 5.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4446/0.589, allocations: 98.16 MB / 0.6384 GB, free: 15.81 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.5893, allocations: 80.98 kB / 0.6385 GB, free: 15.73 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06966/0.659, allocations: 25.35 MB / 0.6632 GB, free: 6.441 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.659, allocations: 4 kB / 0.6632 GB, free: 6.438 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001024/0.6591, allocations: 16 kB / 0.6632 GB, free: 6.422 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.005582/0.6647, allocations: 1.768 MB / 0.665 GB, free: 4.609 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.6648, allocations: 8.031 kB / 0.665 GB, free: 4.602 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003679/0.6685, allocations: 0.5641 MB / 0.6655 GB, free: 4.035 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.6704, allocations: 0.7206 MB / 0.6662 GB, free: 3.258 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/0.6707, allocations: 236.2 kB / 0.6665 GB, free: 2.992 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.671, allocations: 48 kB / 0.6665 GB, free: 2.945 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001843/0.6729, allocations: 0.8175 MB / 0.6673 GB, free: 2.129 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.6747, allocations: 0.7571 MB / 0.668 GB, free: 1.363 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.6747, allocations: 0 / 0.668 GB, free: 1.363 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.265e-05/0.6748, allocations: 0 / 0.668 GB, free: 1.363 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.6748, allocations: 20 kB / 0.6681 GB, free: 1.344 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00697/0.6818, allocations: 3.413 MB / 0.6714 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.6832, allocations: 1.179 MB / 0.6725 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008408/0.6841, allocations: 0.555 MB / 0.6731 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.6842, allocations: 12.78 kB / 0.6731 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.6843, allocations: 39.34 kB / 0.6731 GB, free: 11.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.487e-06/0.6843, allocations: 0 / 0.6731 GB, free: 11.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.0123/0.6966, allocations: 3.986 MB / 0.677 GB, free: 7.879 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.6967, allocations: 72.12 kB / 0.6771 GB, free: 7.797 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.698, allocations: 0.675 MB / 0.6778 GB, free: 7.105 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002512/0.6983, allocations: 26.64 kB / 0.6778 GB, free: 7.074 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.6987, allocations: 0.493 MB / 0.6783 GB, free: 6.574 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005128/0.6992, allocations: 319.2 kB / 0.6786 GB, free: 6.258 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.6993, allocations: 0 / 0.6786 GB, free: 6.258 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6994, allocations: 337.9 kB / 0.6789 GB, free: 5.922 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007829/0.7002, allocations: 418.6 kB / 0.6793 GB, free: 5.512 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00085/0.7011, allocations: 0.5155 MB / 0.6798 GB, free: 4.965 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008301/0.7019, allocations: 461.2 kB / 0.6802 GB, free: 4.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/0.702, allocations: 3.953 kB / 0.6802 GB, free: 4.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01269/0.7147, allocations: 4.102 MB / 0.6842 GB, free: 404 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.7147, allocations: 13.05 kB / 0.6843 GB, free: 392 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.7148, allocations: 4 kB / 0.6843 GB, free: 388 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005645/0.7204, allocations: 1.679 MB / 0.6859 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008827/0.7213, allocations: 167.8 kB / 0.6861 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01444/0.7358, allocations: 6.876 MB / 0.6928 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.7374, allocations: 189.5 kB / 0.693 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002156/0.7376, allocations: 32 kB / 0.693 GB, free: 7.316 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(start = order2_Inputs_Outputs1.delta0 unit = "rad" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004457/0.7381, allocations: 128.4 kB / 0.6931 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01211/0.7502, allocations: 3.992 MB / 0.697 GB, free: 3.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005477/0.7508, allocations: 122.5 kB / 0.6971 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.7637, allocations: 4.111 MB / 0.7011 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/0.7637, allocations: 16 kB / 0.7011 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.7638, allocations: 7.891 kB / 0.7012 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.068e-05/0.7638, allocations: 3.984 kB / 0.7012 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.7793, allocations: 5.615 MB / 0.7066 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/0.7793, allocations: 3.984 kB / 0.7066 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008477/0.7802, allocations: 139.9 kB / 0.7068 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005479/0.7857, allocations: 1.668 MB / 0.7084 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002465/0.786, allocations: 0 / 0.7084 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/0.7991, allocations: 6.218 MB / 0.7145 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.7992, allocations: 0 / 0.7145 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/0.8132, allocations: 4.876 MB / 0.7192 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/0.8137, allocations: 195.5 kB / 0.7194 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004323/0.8141, allocations: 0 / 0.7194 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/0.8155, allocations: 139.9 kB / 0.7196 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007597/0.8163, allocations: 216.4 kB / 0.7198 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.8165, allocations: 20.56 kB / 0.7198 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008894/0.8174, allocations: 0.5182 MB / 0.7203 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8174, allocations: 0 / 0.7203 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001628/0.819, allocations: 387.4 kB / 0.7207 GB, free: 10.63 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01432/0.8333, allocations: 5.455 MB / 0.726 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005698/0.8391, allocations: 1.933 MB / 0.7279 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.8391, allocations: 5.344 kB / 0.7279 GB, free: 3.203 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004507/0.8436, allocations: 1.435 MB / 0.7293 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009004/0.8446, allocations: 56.31 kB / 0.7293 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.8488, allocations: 1.489 MB / 0.7308 GB, free: 172 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/0.8495, allocations: 1.111 MB / 0.7319 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003961/0.8499, allocations: 65.45 kB / 0.7319 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005735/0.8505, allocations: 431.3 kB / 0.7324 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of SimCode: time 6.71e-07/0.8505, allocations: 4 kB / 0.7324 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05897/0.9095, allocations: 26.87 MB / 0.7586 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.9098, allocations: 143.2 kB / 0.7587 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/3.793, allocations: 0 / 0.7587 GB, free: 3.742 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)