Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09298/0.09298, allocations: 12.59 MB / 28.22 MB, free: 0.7695 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 111.4 kB / 31.84 MB, free: 3.895 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.1 MB / 240.4 MB, free: 12.38 MB / 206.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.001375, allocations: 194.7 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4909/0.4909, allocations: 78.52 MB / 419.3 MB, free: 11.24 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004901/0.004901, allocations: 135.2 kB / 0.5554 GB, free: 28.7 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.2031, allocations: 68.13 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.0115/0.2147, allocations: 6.416 MB / 0.6282 GB, free: 9.473 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005938/0.2208, allocations: 1.822 MB / 0.63 GB, free: 7.645 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.2221, allocations: 12 kB / 0.63 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008223/0.223, allocations: 226 kB / 0.6302 GB, free: 7.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003515/0.2265, allocations: 0.7101 MB / 0.6309 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.2287, allocations: 0.6076 MB / 0.6315 GB, free: 6.094 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002577/0.2313, allocations: 1.402 MB / 0.6328 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007751/0.2321, allocations: 332.2 kB / 0.6332 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.2334, allocations: 0.5834 MB / 0.6337 GB, free: 3.762 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.2346, allocations: 0.7233 MB / 0.6344 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002266/0.2349, allocations: 100 kB / 0.6345 GB, free: 2.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007181/0.2356, allocations: 231.9 kB / 0.6348 GB, free: 2.711 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.2359, allocations: 278.7 kB / 0.635 GB, free: 2.438 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000748/0.2367, allocations: 0.6174 MB / 0.6356 GB, free: 1.816 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002446/0.2391, allocations: 1.515 MB / 0.6371 GB, free: 304 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2392, allocations: 4 kB / 0.6371 GB, free: 300 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2392, allocations: 0 / 0.6371 GB, free: 300 kB / 446.1 MB Notification: Performance of Transformations before backend: time 2.554e-05/0.2392, allocations: 0 / 0.6371 GB, free: 300 kB / 446.1 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.01222/0.2514, allocations: 2.532 MB / 0.6396 GB, free: 13.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.827e-05/0.2515, allocations: 11.98 kB / 0.6396 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002343/0.2518, allocations: 126.8 kB / 0.6397 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008315/0.2601, allocations: 0.7827 MB / 0.6405 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.2624, allocations: 0.7605 MB / 0.6412 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005132/0.263, allocations: 260.2 kB / 0.6415 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003061/0.2633, allocations: 84 kB / 0.6416 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004675/0.268, allocations: 1.069 MB / 0.6426 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.2681, allocations: 0 / 0.6426 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.2683, allocations: 32 kB / 0.6426 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/0.2683, allocations: 16 kB / 0.6426 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005149/0.2735, allocations: 1.12 MB / 0.6437 GB, free: 9.34 MB / 462.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.01159/0.2851, allocations: 3.428 MB / 0.6471 GB, free: 5.762 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004267/0.2894, allocations: 1.409 MB / 0.6485 GB, free: 4.234 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00324/0.2927, allocations: 0.7774 MB / 0.6492 GB, free: 3.457 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.293, allocations: 17 kB / 0.6492 GB, free: 3.441 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.515e-05/0.2931, allocations: 39.56 kB / 0.6493 GB, free: 3.395 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 6.172e-06/0.2931, allocations: 0 / 0.6493 GB, free: 3.395 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.04921/0.3423, allocations: 6.75 MB / 0.6559 GB, free: 12.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.3424, allocations: 64.41 kB / 0.6559 GB, free: 12.54 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/0.3447, allocations: 0.8876 MB / 0.6568 GB, free: 11.63 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000302/0.3451, allocations: 45.64 kB / 0.6568 GB, free: 11.58 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006211/0.3457, allocations: 488.7 kB / 0.6573 GB, free: 11.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007722/0.3465, allocations: 351 kB / 0.6576 GB, free: 10.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008965/0.3474, allocations: 198.8 kB / 0.6578 GB, free: 10.54 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3476, allocations: 349.8 kB / 0.6582 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003302/0.3509, allocations: 0.7131 MB / 0.6589 GB, free: 9.484 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003408/0.3544, allocations: 0.8423 MB / 0.6597 GB, free: 8.609 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03507/0.3895, allocations: 4.779 MB / 0.6643 GB, free: 3.793 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-05/0.3896, allocations: 0 / 0.6643 GB, free: 3.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.02598/0.4156, allocations: 4.257 MB / 0.6685 GB, free: 15.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.992e-05/0.4157, allocations: 8 kB / 0.6685 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.4157, allocations: 0 / 0.6685 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01114/0.4269, allocations: 1.863 MB / 0.6703 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/0.4288, allocations: 207.6 kB / 0.6705 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03987/0.4687, allocations: 9.078 MB / 0.6794 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/0.4716, allocations: 178.9 kB / 0.6796 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004263/0.4721, allocations: 39.98 kB / 0.6796 GB, free: 3.996 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.001187/0.4733, allocations: 245.5 kB / 0.6798 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005624/0.4739, allocations: 118.5 kB / 0.6799 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02424/0.4982, allocations: 4.006 MB / 0.6839 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/0.4982, allocations: 8 kB / 0.6839 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.4983, allocations: 3.938 kB / 0.6839 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.685e-05/0.4983, allocations: 7.984 kB / 0.6839 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0279/0.5262, allocations: 5.614 MB / 0.6894 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/0.5263, allocations: 0 / 0.6894 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.5277, allocations: 131.8 kB / 0.6895 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01095/0.5387, allocations: 1.737 MB / 0.6912 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003883/0.5391, allocations: 16 kB / 0.6912 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0349/0.5741, allocations: 8.069 MB / 0.6991 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5742, allocations: 0 / 0.6991 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02797/0.6021, allocations: 4.964 MB / 0.7039 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006445/0.6028, allocations: 207.5 kB / 0.7041 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003094/0.6032, allocations: 16 kB / 0.7041 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001796/0.605, allocations: 107.9 kB / 0.7042 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001321/0.6063, allocations: 224.5 kB / 0.7045 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/0.6065, allocations: 31.98 kB / 0.7045 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001382/0.6079, allocations: 0.5927 MB / 0.7051 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.61e-07/0.6079, allocations: 0 / 0.7051 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002501/0.6104, allocations: 431.5 kB / 0.7055 GB, free: 9.121 MB / 0.5137 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 () * Number of clocked 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 (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.02758/0.638, allocations: 5.553 MB / 0.7109 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.013/0.6511, allocations: 2.472 MB / 0.7133 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.6512, allocations: 0 / 0.7133 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.4624/1.114, allocations: 1.588 MB / 0.7149 GB, free: 87.22 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/1.115, allocations: 86.92 kB / 0.7149 GB, free: 87.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06553/1.181, allocations: 15.11 MB / 0.7297 GB, free: 83.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00131/1.182, allocations: 1.084 MB / 0.7308 GB, free: 82.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008588/1.183, allocations: 91.83 kB / 0.7309 GB, free: 82.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/1.184, allocations: 444.4 kB / 0.7313 GB, free: 82.36 MB / 0.5137 GB Notification: Performance of SimCode: time 1.603e-06/1.184, allocations: 0 / 0.7313 GB, free: 82.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09182/1.276, allocations: 34.65 MB / 0.7651 GB, free: 55.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.13/28.41, allocations: 0.6875 kB / 0.7651 GB, free: 55.04 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)