Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.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_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.001222/0.001222, 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.423/1.423, allocations: 222.9 MB / 239.3 MB, free: 4.598 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.001687/0.001687, allocations: 200.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.1.0-master/package.mo): time 0.6358/0.6358, allocations: 91.91 MB / 431.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 79.88 kB / 0.502 GB, free: 7.625 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4347, allocations: 71.25 MB / 0.5716 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.00641/0.4412, allocations: 6.518 MB / 0.5779 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004049/0.4452, allocations: 1.888 MB / 0.5798 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008529/0.4461, allocations: 11.53 kB / 0.5798 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005845/0.4468, allocations: 227 kB / 0.58 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.4487, allocations: 0.7207 MB / 0.5807 GB, free: 31.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001507/0.4502, allocations: 0.6188 MB / 0.5813 GB, free: 30.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.4517, allocations: 1.41 MB / 0.5827 GB, free: 30.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005078/0.4522, allocations: 335.8 kB / 0.583 GB, free: 29.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.4528, allocations: 0.5871 MB / 0.5836 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006427/0.4535, allocations: 0.7324 MB / 0.5843 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.4536, allocations: 103.7 kB / 0.5844 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.454, allocations: 243.5 kB / 0.5846 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.4542, allocations: 281 kB / 0.5849 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.4546, allocations: 0.6229 MB / 0.5855 GB, free: 28.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.4558, allocations: 1.491 MB / 0.587 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4558, allocations: 1.594 kB / 0.587 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4558, allocations: 0 / 0.587 GB, free: 27.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.4558, allocations: 0 / 0.587 GB, free: 27.91 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008058/0.4639, allocations: 2.565 MB / 0.5895 GB, free: 26.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/0.464, allocations: 8.906 kB / 0.5895 GB, free: 26.72 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.4642, allocations: 132.5 kB / 0.5896 GB, free: 26.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004842/0.469, allocations: 0.7811 MB / 0.5904 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.4702, allocations: 0.7681 MB / 0.5911 GB, free: 25.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/0.4705, allocations: 261.8 kB / 0.5914 GB, free: 25.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.4707, allocations: 75.75 kB / 0.5914 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002325/0.473, allocations: 1.086 MB / 0.5925 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.473, allocations: 4 kB / 0.5925 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/0.4731, allocations: 33.69 kB / 0.5925 GB, free: 25.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.4732, allocations: 19.66 kB / 0.5926 GB, free: 25.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/0.4757, allocations: 1.118 MB / 0.5936 GB, free: 24.9 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.005882/0.4816, allocations: 3.496 MB / 0.5971 GB, free: 22.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.4838, allocations: 1.438 MB / 0.5985 GB, free: 21.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.4855, allocations: 0.7841 MB / 0.5992 GB, free: 21.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.84e-05/0.4856, allocations: 19.44 kB / 0.5992 GB, free: 21.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.4856, allocations: 43.8 kB / 0.5993 GB, free: 21.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.515e-06/0.4856, allocations: 0 / 0.5993 GB, free: 21.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.0288/0.5144, allocations: 6.877 MB / 0.606 GB, free: 20.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.5145, allocations: 63.83 kB / 0.6061 GB, free: 20.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.5159, allocations: 0.8878 MB / 0.6069 GB, free: 19.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002019/0.5161, allocations: 45.11 kB / 0.607 GB, free: 19.87 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/0.5165, allocations: 0.4895 MB / 0.6075 GB, free: 19.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/0.5168, allocations: 350 kB / 0.6078 GB, free: 19.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004153/0.5172, allocations: 202.5 kB / 0.608 GB, free: 19.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.5174, allocations: 354.3 kB / 0.6083 GB, free: 18.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/0.5191, allocations: 0.7302 MB / 0.609 GB, free: 18.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.5209, allocations: 0.8663 MB / 0.6099 GB, free: 18.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01971/0.5407, allocations: 4.851 MB / 0.6146 GB, free: 16.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.5407, allocations: 1.406 kB / 0.6146 GB, free: 16.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01345/0.5542, allocations: 4.282 MB / 0.6188 GB, free: 13.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.5542, allocations: 4 kB / 0.6188 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.5543, allocations: 8 kB / 0.6188 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0055/0.5598, allocations: 1.726 MB / 0.6205 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.561, allocations: 227.7 kB / 0.6207 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/0.5799, allocations: 9.067 MB / 0.6296 GB, free: 2.605 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.5818, allocations: 182.9 kB / 0.6297 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.582, allocations: 47.97 kB / 0.6298 GB, free: 2.379 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 (117): * Single equations (assignments): 116 * 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.0005156/0.5825, allocations: 233.7 kB / 0.63 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.5827, allocations: 122.4 kB / 0.6301 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/0.5956, allocations: 4.014 MB / 0.634 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/0.5957, allocations: 11.98 kB / 0.6341 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5957, allocations: 0 / 0.6341 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.5957, allocations: 3.984 kB / 0.6341 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/0.6116, allocations: 5.637 MB / 0.6396 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/0.6117, allocations: 4 kB / 0.6396 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008068/0.6125, allocations: 135.8 kB / 0.6397 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006213/0.6187, allocations: 1.737 MB / 0.6414 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001709/0.6189, allocations: 16 kB / 0.6414 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02068/0.6396, allocations: 8.073 MB / 0.6493 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6396, allocations: 0 / 0.6493 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01635/0.656, allocations: 4.958 MB / 0.6541 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/0.6566, allocations: 203.4 kB / 0.6543 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004891/0.6571, allocations: 19.98 kB / 0.6544 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/0.6585, allocations: 111.9 kB / 0.6545 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008959/0.6595, allocations: 216.7 kB / 0.6547 GB, free: 8.531 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.6596, allocations: 24 kB / 0.6547 GB, free: 8.508 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001/0.6606, allocations: 0.5969 MB / 0.6553 GB, free: 7.902 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6607, allocations: 0 / 0.6553 GB, free: 7.902 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00185/0.6625, allocations: 447.4 kB / 0.6557 GB, free: 7.465 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 (65): * Single equations (assignments): 64 * 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.01688/0.6794, allocations: 5.538 MB / 0.6611 GB, free: 1.891 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008196/0.6876, allocations: 2.504 MB / 0.6636 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.6877, allocations: 0.5625 kB / 0.6636 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005547/0.6933, allocations: 1.601 MB / 0.6651 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.6946, allocations: 86.23 kB / 0.6652 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04388/0.7385, allocations: 16 MB / 0.6808 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008872/0.7394, allocations: 1.099 MB / 0.6819 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005674/0.74, allocations: 94.75 kB / 0.682 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007144/0.7408, allocations: 447.3 kB / 0.6824 GB, free: 11.62 MB / 494.1 MB Notification: Performance of SimCode: time 6.52e-07/0.7408, allocations: 0 / 0.6824 GB, free: 11.62 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07153/0.8123, allocations: 33.16 MB / 0.7148 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.96, allocations: 11.09 kB / 0.7148 GB, free: 10.6 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)