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.00115/0.00115, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.3 MB / 239.4 MB, free: 5.418 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.001194/0.001194, allocations: 176.5 kB / 290.6 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5627/0.5627, allocations: 91.93 MB / 433.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004574/0.0004574, allocations: 8 kB / 0.5049 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4894/0.4899, allocations: 72.46 MB / 0.5756 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.007337/0.4973, allocations: 6.376 MB / 0.5819 GB, free: 32.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00677/0.5041, allocations: 1.931 MB / 0.5837 GB, free: 31.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.5058, allocations: 12.16 kB / 0.5838 GB, free: 31.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000767/0.5066, allocations: 174.4 kB / 0.5839 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.5093, allocations: 0.6309 MB / 0.5845 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.511, allocations: 0.5771 MB / 0.5851 GB, free: 30.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002115/0.5131, allocations: 1.355 MB / 0.5864 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005654/0.5137, allocations: 288.1 kB / 0.5867 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009443/0.5147, allocations: 0.5192 MB / 0.5872 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008032/0.5155, allocations: 0.6623 MB / 0.5879 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.5156, allocations: 52.38 kB / 0.5879 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006209/0.5162, allocations: 190.2 kB / 0.5881 GB, free: 28.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.5165, allocations: 228.5 kB / 0.5883 GB, free: 28.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005259/0.517, allocations: 0.583 MB / 0.5889 GB, free: 28.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.5186, allocations: 1.429 MB / 0.5903 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.5186, allocations: 0 / 0.5903 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.5186, allocations: 0 / 0.5903 GB, free: 27.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.5187, allocations: 0 / 0.5903 GB, free: 27.83 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.008716/0.5274, allocations: 2.39 MB / 0.5926 GB, free: 26.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.102e-05/0.5275, allocations: 8.812 kB / 0.5926 GB, free: 26.78 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004764/0.528, allocations: 129.4 kB / 0.5927 GB, free: 26.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005555/0.5336, allocations: 0.7854 MB / 0.5935 GB, free: 26.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.5355, allocations: 0.7677 MB / 0.5943 GB, free: 25.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.5359, allocations: 274.2 kB / 0.5945 GB, free: 25.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.5361, allocations: 80.66 kB / 0.5946 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002981/0.5391, allocations: 1.173 MB / 0.5957 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.5392, allocations: 0 / 0.5957 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.5393, allocations: 31.47 kB / 0.5958 GB, free: 25.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.5393, allocations: 21.19 kB / 0.5958 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003165/0.5425, allocations: 1.237 MB / 0.597 GB, free: 24.95 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.008477/0.551, allocations: 3.566 MB / 0.6005 GB, free: 22.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/0.554, allocations: 1.519 MB / 0.602 GB, free: 22.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.5561, allocations: 0.8835 MB / 0.6028 GB, free: 21.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.5562, allocations: 25.89 kB / 0.6028 GB, free: 21.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.5563, allocations: 39.25 kB / 0.6029 GB, free: 21.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.336e-06/0.5563, allocations: 5.406 kB / 0.6029 GB, free: 21.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.03405/0.5903, allocations: 8.531 MB / 0.6112 GB, free: 20.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.5904, allocations: 61.66 kB / 0.6113 GB, free: 20.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.5924, allocations: 0.8896 MB / 0.6121 GB, free: 19.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004403/0.5928, allocations: 49.17 kB / 0.6122 GB, free: 19.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005119/0.5934, allocations: 0.493 MB / 0.6127 GB, free: 19.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005346/0.5939, allocations: 348.7 kB / 0.613 GB, free: 19.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.5941, allocations: 104.5 kB / 0.6131 GB, free: 18.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.5943, allocations: 358.6 kB / 0.6135 GB, free: 18.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002399/0.5967, allocations: 0.8186 MB / 0.6143 GB, free: 18.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002405/0.5991, allocations: 0.9533 MB / 0.6152 GB, free: 18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02079/0.6199, allocations: 5.402 MB / 0.6205 GB, free: 15.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.62, allocations: 4 kB / 0.6205 GB, free: 15.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01433/0.6343, allocations: 5.226 MB / 0.6256 GB, free: 10.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.6344, allocations: 10.66 kB / 0.6256 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.6344, allocations: 0 / 0.6256 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006094/0.6405, allocations: 2.034 MB / 0.6276 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.6418, allocations: 247.7 kB / 0.6278 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01976/0.6615, allocations: 9.323 MB / 0.6369 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.6635, allocations: 230.8 kB / 0.6371 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.6636, allocations: 43.98 kB / 0.6372 GB, free: 14.05 MB / 446.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.0005604/0.6642, allocations: 245.5 kB / 0.6374 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.6644, allocations: 118.5 kB / 0.6375 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/0.6795, allocations: 4.959 MB / 0.6424 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.6796, allocations: 8 kB / 0.6424 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6796, allocations: 0 / 0.6424 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.7e-05/0.6796, allocations: 11.97 kB / 0.6424 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/0.6975, allocations: 6.575 MB / 0.6488 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.6976, allocations: 3.984 kB / 0.6488 GB, free: 1.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008944/0.6985, allocations: 147.8 kB / 0.6489 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006685/0.7052, allocations: 2.042 MB / 0.6509 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002325/0.7054, allocations: 19.98 kB / 0.651 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01963/0.7251, allocations: 8.207 MB / 0.659 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7251, allocations: 0 / 0.659 GB, free: 7.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01772/0.7428, allocations: 6.005 MB / 0.6648 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005688/0.7435, allocations: 211.4 kB / 0.665 GB, free: 1.156 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.7436, allocations: 23.92 kB / 0.6651 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.7448, allocations: 155.9 kB / 0.6652 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000737/0.7456, allocations: 208.6 kB / 0.6654 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-05/0.7457, allocations: 28 kB / 0.6654 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008068/0.7465, allocations: 0.5969 MB / 0.666 GB, free: 144 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7465, allocations: 4 kB / 0.666 GB, free: 140 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.001425/0.7479, allocations: 439.6 kB / 0.6664 GB, free: 15.7 MB / 478.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.01808/0.766, allocations: 6.584 MB / 0.6729 GB, free: 9.09 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007803/0.7738, allocations: 2.773 MB / 0.6756 GB, free: 6.301 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.7739, allocations: 0 / 0.6756 GB, free: 6.301 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005527/0.7794, allocations: 1.795 MB / 0.6773 GB, free: 4.488 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.7808, allocations: 84.41 kB / 0.6774 GB, free: 4.406 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04722/0.8281, allocations: 18.44 MB / 0.6954 GB, free: 1.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008688/0.829, allocations: 1.103 MB / 0.6965 GB, free: 452 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005646/0.8296, allocations: 94.75 kB / 0.6966 GB, free: 352 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007527/0.8303, allocations: 435.4 kB / 0.697 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/0.8304, allocations: 0 / 0.697 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06069/0.8911, allocations: 29.93 MB / 0.7262 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/0.8913, allocations: 238 kB / 0.7264 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.006/3.898, allocations: 0 / 0.7264 GB, free: 1.93 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)