Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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_TG,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",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.0008903/0.0008902, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.314/1.314, allocations: 223.2 MB / 239 MB, free: 5.449 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.001376/0.001376, allocations: 172.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4704/0.4704, allocations: 79.47 MB / 420.8 MB, free: 3.945 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003715, allocations: 8 kB / 0.4892 GB, free: 5.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3816, allocations: 69.5 MB / 0.5571 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.005595/0.3873, allocations: 5.879 MB / 0.5628 GB, free: 37.22 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003929/0.3912, allocations: 1.912 MB / 0.5647 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007755/0.3921, allocations: 10.84 kB / 0.5647 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006336/0.3927, allocations: 165.8 kB / 0.5649 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001518/0.3942, allocations: 0.6004 MB / 0.5655 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.3955, allocations: 0.5553 MB / 0.566 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.3968, allocations: 1.317 MB / 0.5673 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004167/0.3972, allocations: 253.4 kB / 0.5675 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006804/0.3979, allocations: 0.5157 MB / 0.568 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006907/0.3986, allocations: 0.6381 MB / 0.5687 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.3987, allocations: 52.5 kB / 0.5687 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.3991, allocations: 171.6 kB / 0.5689 GB, free: 35.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.3993, allocations: 226.5 kB / 0.5691 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.3995, allocations: 222.6 kB / 0.5693 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000873/0.4004, allocations: 1.122 MB / 0.5704 GB, free: 35.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4004, allocations: 0 / 0.5704 GB, free: 35.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4004, allocations: 0 / 0.5704 GB, free: 35.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.4004, allocations: 0 / 0.5704 GB, free: 35.32 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.006752/0.4072, allocations: 2.381 MB / 0.5727 GB, free: 34.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.4072, allocations: 9.344 kB / 0.5727 GB, free: 34.47 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003346/0.4076, allocations: 127.1 kB / 0.5728 GB, free: 34.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004492/0.4121, allocations: 0.7869 MB / 0.5736 GB, free: 34.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.4134, allocations: 0.7627 MB / 0.5744 GB, free: 33.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/0.4136, allocations: 273.1 kB / 0.5746 GB, free: 33.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.4138, allocations: 73.78 kB / 0.5747 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.4158, allocations: 1.201 MB / 0.5759 GB, free: 33.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.4158, allocations: 4.641 kB / 0.5759 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.367e-05/0.4159, allocations: 25.69 kB / 0.5759 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.4159, allocations: 16.53 kB / 0.5759 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.4179, allocations: 1.166 MB / 0.577 GB, free: 32.71 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.005285/0.4232, allocations: 3.559 MB / 0.5805 GB, free: 30.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.4251, allocations: 1.515 MB / 0.582 GB, free: 29.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.4264, allocations: 0.8267 MB / 0.5828 GB, free: 29.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.4266, allocations: 14.56 kB / 0.5828 GB, free: 29.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.4266, allocations: 42.06 kB / 0.5829 GB, free: 29.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 4.378e-06/0.4266, allocations: 3.938 kB / 0.5829 GB, free: 29.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02393/0.4505, allocations: 8.036 MB / 0.5907 GB, free: 28.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.4507, allocations: 87.77 kB / 0.5908 GB, free: 27.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.4524, allocations: 0.9325 MB / 0.5917 GB, free: 27.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002485/0.4526, allocations: 41.14 kB / 0.5917 GB, free: 27.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/0.453, allocations: 491.3 kB / 0.5922 GB, free: 27.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.4533, allocations: 320.1 kB / 0.5925 GB, free: 26.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.742e-05/0.4534, allocations: 23.88 kB / 0.5925 GB, free: 26.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.4535, allocations: 350.9 kB / 0.5929 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.4551, allocations: 0.779 MB / 0.5936 GB, free: 26.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.4568, allocations: 0.9057 MB / 0.5945 GB, free: 25.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.4584, allocations: 0.8356 MB / 0.5953 GB, free: 25.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.4584, allocations: 0 / 0.5953 GB, free: 25.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01415/0.4726, allocations: 5.128 MB / 0.6003 GB, free: 24.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.4728, allocations: 150.8 kB / 0.6005 GB, free: 24.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.4728, allocations: 3.672 kB / 0.6005 GB, free: 24.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006541/0.4793, allocations: 2.101 MB / 0.6025 GB, free: 23.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.4804, allocations: 201 kB / 0.6027 GB, free: 23.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02227/0.5027, allocations: 9.517 MB / 0.612 GB, free: 19.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.5045, allocations: 225.4 kB / 0.6122 GB, free: 19.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/0.5048, allocations: 39.19 kB / 0.6123 GB, free: 19.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.5048, allocations: 4 kB / 0.6123 GB, free: 19.36 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01303/0.5179, allocations: 4.972 MB / 0.6171 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/0.5179, allocations: 0 / 0.6171 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005637/0.5236, allocations: 2.099 MB / 0.6192 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.5247, allocations: 195.7 kB / 0.6194 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/0.5427, allocations: 9.496 MB / 0.6287 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.5443, allocations: 207 kB / 0.6288 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/0.5446, allocations: 40 kB / 0.6289 GB, free: 2.855 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (109): * Single equations (assignments): 108 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007473/0.5453, allocations: 324.5 kB / 0.6292 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/0.5457, allocations: 118.5 kB / 0.6293 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.5578, allocations: 4.85 MB / 0.634 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.5579, allocations: 8.812 kB / 0.6341 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.5579, allocations: 11.94 kB / 0.6341 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.711e-05/0.5579, allocations: 3.984 kB / 0.6341 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/0.5736, allocations: 6.474 MB / 0.6404 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5737, allocations: 0 / 0.6404 GB, free: 6.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006445/0.5743, allocations: 108.7 kB / 0.6405 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005687/0.5801, allocations: 2.052 MB / 0.6425 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/0.5802, allocations: 27.89 kB / 0.6425 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/0.5972, allocations: 8.191 MB / 0.6505 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5973, allocations: 5 kB / 0.6505 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/0.6117, allocations: 5.849 MB / 0.6562 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004579/0.6122, allocations: 199.5 kB / 0.6564 GB, free: 6.309 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003394/0.6125, allocations: 16 kB / 0.6564 GB, free: 6.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.6137, allocations: 155.9 kB / 0.6566 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006339/0.6144, allocations: 205.4 kB / 0.6568 GB, free: 5.941 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.6145, allocations: 27.94 kB / 0.6568 GB, free: 5.914 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001073/0.6156, allocations: 0.6323 MB / 0.6574 GB, free: 5.273 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6156, allocations: 0 / 0.6574 GB, free: 5.273 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002571/0.6182, allocations: 0.7022 MB / 0.6581 GB, free: 4.57 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],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 (57): * Single equations (assignments): 56 * 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.01469/0.6329, allocations: 6.434 MB / 0.6644 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01159/0.6445, allocations: 4.616 MB / 0.6689 GB, free: 9.469 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.6446, allocations: 1.875 kB / 0.6689 GB, free: 9.469 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004499/0.6491, allocations: 1.743 MB / 0.6706 GB, free: 7.723 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.6505, allocations: 101.8 kB / 0.6707 GB, free: 7.621 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/0.6771, allocations: 11.61 MB / 0.6821 GB, free: 11.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009411/0.6781, allocations: 1.109 MB / 0.6831 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007075/0.6788, allocations: 119.7 kB / 0.6833 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006466/0.6795, allocations: 423.3 kB / 0.6837 GB, free: 10.05 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6795, allocations: 0 / 0.6837 GB, free: 10.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06957/0.7491, allocations: 36.85 MB / 0.7196 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.7493, allocations: 206.1 kB / 0.7198 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.36, allocations: 0 / 0.7198 GB, free: 5.289 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1) Environment - environmentSimulation: