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.008475/0.008475, allocations: 100.1 kB / 15.73 MB, free: 5.965 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.355/1.355, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.001515/0.001515, allocations: 196.5 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5216/0.5216, allocations: 91.9 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 90.05 kB / 0.5723 GB, free: 33.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1559, allocations: 71.28 MB / 0.6419 GB, free: 4.062 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.007346/0.1633, allocations: 6.507 MB / 0.6482 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004162/0.1675, allocations: 1.9 MB / 0.6501 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006734/0.1682, allocations: 8 kB / 0.6501 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006029/0.1689, allocations: 226 kB / 0.6503 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.1707, allocations: 0.7635 MB / 0.6511 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.1721, allocations: 0.619 MB / 0.6517 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.1736, allocations: 1.433 MB / 0.6531 GB, free: 8.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000458/0.1741, allocations: 331.1 kB / 0.6534 GB, free: 8.238 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007134/0.1748, allocations: 0.5912 MB / 0.654 GB, free: 7.645 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000819/0.1756, allocations: 0.731 MB / 0.6547 GB, free: 6.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.1758, allocations: 100 kB / 0.6548 GB, free: 6.812 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005189/0.1763, allocations: 235.9 kB / 0.655 GB, free: 6.582 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002537/0.1766, allocations: 274.8 kB / 0.6552 GB, free: 6.312 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005733/0.1772, allocations: 0.6329 MB / 0.6559 GB, free: 5.676 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.1787, allocations: 1.519 MB / 0.6573 GB, free: 4.152 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1787, allocations: 0 / 0.6573 GB, free: 4.152 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1787, allocations: 0 / 0.6573 GB, free: 4.152 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.1788, allocations: 4 kB / 0.6574 GB, free: 4.148 MB / 462.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.007426/0.1862, allocations: 2.561 MB / 0.6599 GB, free: 1.535 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1863, allocations: 8.031 kB / 0.6599 GB, free: 1.527 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.1864, allocations: 126.8 kB / 0.66 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004726/0.1912, allocations: 0.7827 MB / 0.6607 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/0.1927, allocations: 0.7725 MB / 0.6615 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003151/0.193, allocations: 256.2 kB / 0.6617 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.1932, allocations: 80 kB / 0.6618 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.1954, allocations: 1.085 MB / 0.6629 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1954, allocations: 0 / 0.6629 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.176e-05/0.1955, allocations: 32 kB / 0.6629 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.1955, allocations: 16 kB / 0.6629 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.198, allocations: 1.124 MB / 0.664 GB, free: 13.15 MB / 478.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.006168/0.2042, allocations: 3.487 MB / 0.6674 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.2063, allocations: 1.426 MB / 0.6688 GB, free: 7.965 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.2079, allocations: 0.7774 MB / 0.6696 GB, free: 7.184 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.208, allocations: 24.92 kB / 0.6696 GB, free: 7.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.2081, allocations: 43.5 kB / 0.6696 GB, free: 7.109 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 2.735e-06/0.2081, allocations: 0 / 0.6696 GB, free: 7.109 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02854/0.2366, allocations: 6.871 MB / 0.6764 GB, free: 208 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.2367, allocations: 64.41 kB / 0.6764 GB, free: 132 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.2383, allocations: 0.8884 MB / 0.6773 GB, free: 15.22 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001832/0.2385, allocations: 49.7 kB / 0.6773 GB, free: 15.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.239, allocations: 0.4929 MB / 0.6778 GB, free: 14.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005159/0.2395, allocations: 351 kB / 0.6781 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006332/0.2402, allocations: 198.8 kB / 0.6783 GB, free: 14.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.2403, allocations: 357.9 kB / 0.6787 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.242, allocations: 0.7248 MB / 0.6794 GB, free: 13.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.2438, allocations: 0.8618 MB / 0.6802 GB, free: 12.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01869/0.2625, allocations: 4.846 MB / 0.685 GB, free: 7.266 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.2626, allocations: 0 / 0.685 GB, free: 7.266 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01322/0.2758, allocations: 4.277 MB / 0.6891 GB, free: 2.973 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.2759, allocations: 8 kB / 0.6891 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.2759, allocations: 4 kB / 0.6891 GB, free: 2.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005817/0.2817, allocations: 1.725 MB / 0.6908 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.2831, allocations: 231.6 kB / 0.6911 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02496/0.3081, allocations: 9.058 MB / 0.6999 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.3098, allocations: 182.9 kB / 0.7001 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002928/0.3102, allocations: 39.98 kB / 0.7001 GB, free: 7.57 MB / 0.4981 GB 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.0008545/0.311, allocations: 241.6 kB / 0.7003 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004271/0.3115, allocations: 126.4 kB / 0.7005 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/0.3282, allocations: 4.006 MB / 0.7044 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-05/0.3283, allocations: 12 kB / 0.7044 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3283, allocations: 0 / 0.7044 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-05/0.3283, allocations: 7.984 kB / 0.7044 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02625/0.3546, allocations: 5.618 MB / 0.7099 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/0.3547, allocations: 0 / 0.7099 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/0.3563, allocations: 135.8 kB / 0.71 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01103/0.3674, allocations: 1.737 MB / 0.7117 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003918/0.3678, allocations: 20 kB / 0.7117 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03502/0.4029, allocations: 8.048 MB / 0.7196 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4029, allocations: 0 / 0.7196 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01948/0.4224, allocations: 4.964 MB / 0.7244 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005377/0.423, allocations: 203.4 kB / 0.7246 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.4232, allocations: 16 kB / 0.7246 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009885/0.4242, allocations: 111.9 kB / 0.7247 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008292/0.425, allocations: 224.7 kB / 0.725 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/0.4251, allocations: 20 kB / 0.725 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008649/0.426, allocations: 0.6047 MB / 0.7256 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/0.426, allocations: 4 kB / 0.7256 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001399/0.4274, allocations: 439.4 kB / 0.726 GB, free: 12.7 MB / 0.5294 GB 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.01506/0.4425, allocations: 5.53 MB / 0.7314 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007233/0.4498, allocations: 2.471 MB / 0.7338 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.4498, allocations: 8.062 kB / 0.7338 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004669/0.4545, allocations: 1.609 MB / 0.7354 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.4555, allocations: 88.36 kB / 0.7355 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04044/0.496, allocations: 15.36 MB / 0.7505 GB, free: 3.363 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009558/0.497, allocations: 1.103 MB / 0.7516 GB, free: 2.234 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005178/0.4975, allocations: 86.77 kB / 0.7516 GB, free: 2.145 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007173/0.4983, allocations: 447.3 kB / 0.7521 GB, free: 1.707 MB / 0.545 GB Notification: Performance of SimCode: time 8.81e-07/0.4983, allocations: 4 kB / 0.7521 GB, free: 1.703 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4128/0.9111, allocations: 33.54 MB / 0.7848 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.59/17.51, allocations: 9.484 kB / 0.7848 GB, free: 117.2 MB / 0.5606 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)