Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_release_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.001298/0.001298, allocations: 172.5 kB / 7.647 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.373/1.373, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.001072/0.001072, allocations: 97.83 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5959/0.5959, allocations: 78.12 MB / 409.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.585e-05, allocations: 3.938 kB / 485.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1491, allocations: 69.36 MB / 0.5414 GB, free: 6.855 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4177/0.5669, allocations: 97.57 MB / 0.6367 GB, free: 2.07 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.5672, allocations: 76.61 kB / 0.6368 GB, free: 1.996 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06849/0.6357, allocations: 25.08 MB / 0.6613 GB, free: 8.988 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6357, allocations: 0 / 0.6613 GB, free: 8.988 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.02e-05/0.6358, allocations: 20 kB / 0.6613 GB, free: 8.969 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.004763/0.6406, allocations: 1.771 MB / 0.663 GB, free: 7.152 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.6406, allocations: 8.031 kB / 0.663 GB, free: 7.145 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/0.644, allocations: 0.5563 MB / 0.6636 GB, free: 6.586 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.6454, allocations: 0.7244 MB / 0.6643 GB, free: 5.805 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.6457, allocations: 238.5 kB / 0.6645 GB, free: 5.539 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.6458, allocations: 48.66 kB / 0.6646 GB, free: 5.492 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001463/0.6473, allocations: 0.8124 MB / 0.6654 GB, free: 4.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.6486, allocations: 0.7532 MB / 0.6661 GB, free: 3.918 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.6487, allocations: 7.938 kB / 0.6661 GB, free: 3.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.971e-05/0.6488, allocations: 0 / 0.6661 GB, free: 3.91 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.6488, allocations: 16 kB / 0.6661 GB, free: 3.895 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00597/0.6548, allocations: 3.409 MB / 0.6694 GB, free: 352 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.656, allocations: 1.184 MB / 0.6706 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007757/0.6568, allocations: 0.5544 MB / 0.6711 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.657, allocations: 16.69 kB / 0.6712 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.657, allocations: 47.28 kB / 0.6712 GB, free: 14.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.906e-06/0.657, allocations: 0 / 0.6712 GB, free: 14.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01261/0.6696, allocations: 3.98 MB / 0.6751 GB, free: 10.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.6697, allocations: 68.12 kB / 0.6751 GB, free: 10.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.6709, allocations: 0.675 MB / 0.6758 GB, free: 9.652 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002601/0.6712, allocations: 26.45 kB / 0.6758 GB, free: 9.621 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000373/0.6715, allocations: 0.4969 MB / 0.6763 GB, free: 9.117 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/0.6719, allocations: 315.2 kB / 0.6766 GB, free: 8.805 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.829e-05/0.672, allocations: 0 / 0.6766 GB, free: 8.805 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6721, allocations: 337.9 kB / 0.6769 GB, free: 8.469 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006837/0.6728, allocations: 422.6 kB / 0.6773 GB, free: 8.055 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007211/0.6735, allocations: 0.5116 MB / 0.6778 GB, free: 7.512 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007505/0.6743, allocations: 458.2 kB / 0.6783 GB, free: 7.062 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.6743, allocations: 7.953 kB / 0.6783 GB, free: 7.055 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0129/0.6872, allocations: 4.097 MB / 0.6823 GB, free: 2.945 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.6873, allocations: 15.94 kB / 0.6823 GB, free: 2.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.6873, allocations: 0 / 0.6823 GB, free: 2.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00605/0.6934, allocations: 1.684 MB / 0.6839 GB, free: 1.242 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.6945, allocations: 159.8 kB / 0.6841 GB, free: 1.086 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/0.7091, allocations: 6.887 MB / 0.6908 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.7107, allocations: 187.2 kB / 0.691 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.7108, allocations: 28 kB / 0.691 GB, free: 9.867 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.000381/0.7112, allocations: 120.3 kB / 0.6911 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01241/0.7236, allocations: 3.996 MB / 0.695 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005641/0.7242, allocations: 120.9 kB / 0.6952 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/0.7366, allocations: 4.111 MB / 0.6992 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.7367, allocations: 13.95 kB / 0.6992 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.7367, allocations: 15.89 kB / 0.6992 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.831e-05/0.7367, allocations: 7.969 kB / 0.6992 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/0.7511, allocations: 5.611 MB / 0.7047 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.7511, allocations: 0 / 0.7047 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008034/0.7519, allocations: 151.8 kB / 0.7048 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005277/0.7572, allocations: 1.66 MB / 0.7065 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.7575, allocations: 8 kB / 0.7065 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/0.7702, allocations: 6.202 MB / 0.7125 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.7702, allocations: 4 kB / 0.7125 GB, free: 3.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/0.7847, allocations: 4.876 MB / 0.7173 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006527/0.7854, allocations: 199.5 kB / 0.7175 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.7856, allocations: 0 / 0.7175 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.7869, allocations: 135.9 kB / 0.7176 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007525/0.7876, allocations: 216.4 kB / 0.7178 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.066e-05/0.7877, allocations: 20 kB / 0.7178 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009051/0.7886, allocations: 0.5182 MB / 0.7183 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7887, allocations: 0 / 0.7183 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001527/0.7902, allocations: 383.4 kB / 0.7187 GB, free: 13.2 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.01425/0.8045, allocations: 5.463 MB / 0.724 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005196/0.8097, allocations: 1.934 MB / 0.7259 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.8097, allocations: 1.312 kB / 0.7259 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004294/0.814, allocations: 1.432 MB / 0.7273 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008192/0.8149, allocations: 60.3 kB / 0.7274 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.8184, allocations: 1.488 MB / 0.7288 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.8191, allocations: 1.111 MB / 0.7299 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003259/0.8194, allocations: 65.44 kB / 0.73 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005349/0.8199, allocations: 432.1 kB / 0.7304 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of SimCode: time 8.21e-07/0.8199, allocations: 0 / 0.7304 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06087/0.8808, allocations: 26.86 MB / 0.7566 GB, free: 6.504 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.8811, allocations: 144.2 kB / 0.7568 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/3.872, allocations: 2.078 kB / 0.7568 GB, free: 6.312 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)