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.07915/0.07915, allocations: 12.59 MB / 28.22 MB, free: 0.7812 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.001012/0.001012, allocations: 111.4 kB / 31.83 MB, free: 3.906 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.313/1.313, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001225/0.001225, allocations: 188.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4298/0.4298, allocations: 78.52 MB / 419.3 MB, free: 11.25 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.002664/0.002664, allocations: 138.8 kB / 0.5554 GB, free: 28.77 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.118, allocations: 68.12 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007387/0.1255, allocations: 6.427 MB / 0.6282 GB, free: 9.473 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003633/0.1291, allocations: 1.818 MB / 0.63 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000472/0.1296, allocations: 15.94 kB / 0.63 GB, free: 7.633 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004742/0.1302, allocations: 222 kB / 0.6302 GB, free: 7.414 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.1319, allocations: 0.7686 MB / 0.6309 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.1332, allocations: 0.5963 MB / 0.6315 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001635/0.1349, allocations: 1.409 MB / 0.6329 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004864/0.1354, allocations: 324.3 kB / 0.6332 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007299/0.1361, allocations: 0.5834 MB / 0.6338 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008015/0.1369, allocations: 0.7233 MB / 0.6345 GB, free: 2.992 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.1371, allocations: 100 kB / 0.6346 GB, free: 2.895 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004473/0.1376, allocations: 239.8 kB / 0.6348 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.1378, allocations: 282.7 kB / 0.6351 GB, free: 2.383 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004769/0.1383, allocations: 0.6135 MB / 0.6357 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.1399, allocations: 1.511 MB / 0.6372 GB, free: 256 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1399, allocations: 0 / 0.6372 GB, free: 256 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1399, allocations: 0 / 0.6372 GB, free: 256 kB / 446.1 MB Notification: Performance of Transformations before backend: time 2.821e-05/0.1399, allocations: 0 / 0.6372 GB, free: 256 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.007531/0.1475, allocations: 2.536 MB / 0.6396 GB, free: 13.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1476, allocations: 11.98 kB / 0.6396 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.1477, allocations: 126.8 kB / 0.6398 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004785/0.1525, allocations: 0.7827 MB / 0.6405 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.1537, allocations: 0.7683 MB / 0.6413 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003824/0.1541, allocations: 252.2 kB / 0.6415 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.1543, allocations: 76 kB / 0.6416 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.1565, allocations: 1.077 MB / 0.6426 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.1565, allocations: 3.984 kB / 0.6426 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/0.1566, allocations: 32 kB / 0.6427 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.1567, allocations: 20 kB / 0.6427 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002488/0.1592, allocations: 1.113 MB / 0.6438 GB, free: 9.293 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.005681/0.1648, allocations: 3.424 MB / 0.6471 GB, free: 5.719 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.1669, allocations: 1.409 MB / 0.6485 GB, free: 4.191 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.1685, allocations: 0.7813 MB / 0.6493 GB, free: 3.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.1686, allocations: 9 kB / 0.6493 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.1687, allocations: 43.56 kB / 0.6493 GB, free: 3.352 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 9.127e-06/0.1687, allocations: 0 / 0.6493 GB, free: 3.352 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02511/0.1938, allocations: 6.754 MB / 0.6559 GB, free: 12.56 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.1939, allocations: 64.34 kB / 0.656 GB, free: 12.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.1953, allocations: 0.8876 MB / 0.6568 GB, free: 11.58 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.1954, allocations: 45.7 kB / 0.6569 GB, free: 11.53 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/0.1958, allocations: 0.489 MB / 0.6574 GB, free: 11.03 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004118/0.1963, allocations: 335 kB / 0.6577 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004481/0.1967, allocations: 194.8 kB / 0.6579 GB, free: 10.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.1969, allocations: 353.9 kB / 0.6582 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.1987, allocations: 0.717 MB / 0.6589 GB, free: 9.434 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.2004, allocations: 0.8345 MB / 0.6597 GB, free: 8.566 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01783/0.2183, allocations: 4.783 MB / 0.6644 GB, free: 3.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.2183, allocations: 4 kB / 0.6644 GB, free: 3.746 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.013/0.2313, allocations: 4.249 MB / 0.6685 GB, free: 15.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.2314, allocations: 8 kB / 0.6686 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.2315, allocations: 4 kB / 0.6686 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005856/0.2373, allocations: 1.863 MB / 0.6704 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009862/0.2384, allocations: 211.6 kB / 0.6706 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/0.2591, allocations: 9.076 MB / 0.6794 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.2605, allocations: 170.9 kB / 0.6796 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.2607, allocations: 39.98 kB / 0.6796 GB, free: 3.957 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.0006346/0.2614, allocations: 245.5 kB / 0.6799 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.2616, allocations: 126.5 kB / 0.68 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/0.2743, allocations: 3.99 MB / 0.6839 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.2743, allocations: 12 kB / 0.6839 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.2743, allocations: 7.875 kB / 0.6839 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/0.2744, allocations: 7.984 kB / 0.6839 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.2894, allocations: 5.618 MB / 0.6894 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.2895, allocations: 4 kB / 0.6894 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007243/0.2902, allocations: 131.8 kB / 0.6895 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005557/0.2958, allocations: 1.741 MB / 0.6912 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.2959, allocations: 23.98 kB / 0.6913 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01783/0.3138, allocations: 8.061 MB / 0.6991 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3138, allocations: 0 / 0.6991 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/0.328, allocations: 4.964 MB / 0.704 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.3284, allocations: 199.4 kB / 0.7042 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.3286, allocations: 19.94 kB / 0.7042 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.3297, allocations: 115.9 kB / 0.7043 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007708/0.3304, allocations: 220.5 kB / 0.7045 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.744e-05/0.3305, allocations: 27.98 kB / 0.7045 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007126/0.3313, allocations: 0.5927 MB / 0.7051 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.3313, allocations: 0 / 0.7051 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001261/0.3325, allocations: 435.5 kB / 0.7055 GB, free: 9.074 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.01489/0.3474, allocations: 5.541 MB / 0.7109 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006778/0.3542, allocations: 2.476 MB / 0.7134 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3543, allocations: 0 / 0.7134 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.248/0.6023, allocations: 1.589 MB / 0.7149 GB, free: 86.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009602/0.6033, allocations: 86.05 kB / 0.715 GB, free: 86.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03734/0.6406, allocations: 15.11 MB / 0.7298 GB, free: 83.01 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.6413, allocations: 1.089 MB / 0.7308 GB, free: 82.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003349/0.6416, allocations: 82.98 kB / 0.7309 GB, free: 82.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/0.6421, allocations: 448.2 kB / 0.7313 GB, free: 81.92 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.6421, allocations: 0.9375 kB / 0.7313 GB, free: 81.92 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05211/0.6942, allocations: 33.28 MB / 0.7638 GB, free: 55.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/16.66, allocations: 8.625 kB / 0.7638 GB, free: 55.87 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)