Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.08431/0.08431, allocations: 12.59 MB / 28.23 MB, free: 0.6953 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.001203/0.001203, allocations: 111.4 kB / 31.83 MB, free: 3.855 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.379/1.379, 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.001311/0.001311, allocations: 188.5 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.4363/0.4363, allocations: 78.51 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.002621/0.002621, allocations: 146.7 kB / 0.5554 GB, free: 28.84 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.113, allocations: 68.12 MB / 0.6219 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.00735/0.1204, allocations: 6.533 MB / 0.6283 GB, free: 9.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003772/0.1242, allocations: 1.842 MB / 0.6301 GB, free: 7.484 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007493/0.1249, allocations: 12 kB / 0.6301 GB, free: 7.473 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006519/0.1257, allocations: 226 kB / 0.6303 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002244/0.1279, allocations: 0.767 MB / 0.6311 GB, free: 6.48 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.1294, allocations: 0.6074 MB / 0.6317 GB, free: 5.879 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.1312, allocations: 1.433 MB / 0.6331 GB, free: 4.441 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005333/0.1318, allocations: 328.3 kB / 0.6334 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009378/0.1328, allocations: 0.5912 MB / 0.634 GB, free: 3.516 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009304/0.1337, allocations: 0.7349 MB / 0.6347 GB, free: 2.777 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003748/0.1341, allocations: 104 kB / 0.6348 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005534/0.1346, allocations: 239.8 kB / 0.635 GB, free: 2.441 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.1349, allocations: 274.8 kB / 0.6353 GB, free: 2.172 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006516/0.1356, allocations: 0.629 MB / 0.6359 GB, free: 1.539 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001722/0.1373, allocations: 1.519 MB / 0.6374 GB, free: 16 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1373, allocations: 0 / 0.6374 GB, free: 16 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1373, allocations: 4 kB / 0.6374 GB, free: 12 kB / 446.1 MB Notification: Performance of Transformations before backend: time 3.895e-05/0.1374, allocations: 0 / 0.6374 GB, free: 12 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008012/0.1454, allocations: 2.556 MB / 0.6399 GB, free: 13.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1454, allocations: 11.98 kB / 0.6399 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001908/0.1456, allocations: 130.8 kB / 0.64 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004968/0.1506, allocations: 0.7787 MB / 0.6408 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.152, allocations: 0.7725 MB / 0.6415 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/0.1522, allocations: 260.2 kB / 0.6418 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.1524, allocations: 83.94 kB / 0.6418 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.1548, allocations: 1.085 MB / 0.6429 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.1549, allocations: 0 / 0.6429 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.155, allocations: 28 kB / 0.6429 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.155, allocations: 20 kB / 0.6429 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.1576, allocations: 1.12 MB / 0.644 GB, free: 9.008 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.00581/0.1634, allocations: 3.444 MB / 0.6474 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.1656, allocations: 1.444 MB / 0.6488 GB, free: 3.852 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.1672, allocations: 0.7813 MB / 0.6496 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.1674, allocations: 13 kB / 0.6496 GB, free: 3.059 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.1674, allocations: 43.55 kB / 0.6496 GB, free: 3.008 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 2.906e-06/0.1674, allocations: 0 / 0.6496 GB, free: 3.008 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02354/0.191, allocations: 6.61 MB / 0.6561 GB, free: 12.36 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.1911, allocations: 60.41 kB / 0.6561 GB, free: 12.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.1922, allocations: 0.8884 MB / 0.657 GB, free: 11.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.1924, allocations: 45.7 kB / 0.6571 GB, free: 11.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.1927, allocations: 0.4928 MB / 0.6575 GB, free: 10.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004418/0.1931, allocations: 350.9 kB / 0.6579 GB, free: 10.49 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/0.1936, allocations: 210.8 kB / 0.6581 GB, free: 10.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1937, allocations: 349.9 kB / 0.6584 GB, free: 9.926 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/0.1954, allocations: 0.7365 MB / 0.6591 GB, free: 9.191 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.197, allocations: 0.8618 MB / 0.66 GB, free: 8.297 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01837/0.2154, allocations: 4.846 MB / 0.6647 GB, free: 3.418 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.2155, allocations: 0 / 0.6647 GB, free: 3.418 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01323/0.2287, allocations: 4.273 MB / 0.6689 GB, free: 15.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.2288, allocations: 8 kB / 0.6689 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.2288, allocations: 0 / 0.6689 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005925/0.2347, allocations: 1.741 MB / 0.6706 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.2359, allocations: 227.7 kB / 0.6708 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02106/0.257, allocations: 9.041 MB / 0.6796 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.2586, allocations: 182.9 kB / 0.6798 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.2588, allocations: 39.98 kB / 0.6798 GB, free: 3.734 MB / 494.1 MB 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.0006422/0.2594, allocations: 241.7 kB / 0.6801 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.2598, allocations: 130.4 kB / 0.6802 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.2727, allocations: 4.002 MB / 0.6841 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/0.2727, allocations: 12 kB / 0.6841 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2728, allocations: 4 kB / 0.6841 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.2728, allocations: 3.984 kB / 0.6841 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/0.2875, allocations: 5.61 MB / 0.6896 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.2875, allocations: 0 / 0.6896 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006524/0.2882, allocations: 135.8 kB / 0.6897 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005649/0.2939, allocations: 1.741 MB / 0.6914 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/0.294, allocations: 19.98 kB / 0.6914 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01767/0.3117, allocations: 8.049 MB / 0.6993 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3118, allocations: 0 / 0.6993 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/0.3258, allocations: 4.956 MB / 0.7041 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/0.3262, allocations: 195.5 kB / 0.7043 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.3264, allocations: 19.98 kB / 0.7044 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.3275, allocations: 115.8 kB / 0.7045 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006736/0.3282, allocations: 220.5 kB / 0.7047 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.17e-05/0.3283, allocations: 28.09 kB / 0.7047 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000869/0.3292, allocations: 0.593 MB / 0.7053 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3292, allocations: 4 kB / 0.7053 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001339/0.3305, allocations: 443.4 kB / 0.7057 GB, free: 8.867 MB / 0.5137 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.01425/0.3448, allocations: 5.541 MB / 0.7111 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006463/0.3513, allocations: 2.475 MB / 0.7135 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3513, allocations: 4.188 kB / 0.7135 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.236/0.5873, allocations: 1.595 MB / 0.7151 GB, free: 86.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.5884, allocations: 93.38 kB / 0.7152 GB, free: 86.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03818/0.6266, allocations: 15.37 MB / 0.7302 GB, free: 83 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006427/0.6273, allocations: 1.099 MB / 0.7313 GB, free: 82.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004024/0.6277, allocations: 95.94 kB / 0.7314 GB, free: 82.26 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005072/0.6282, allocations: 447.3 kB / 0.7318 GB, free: 81.91 MB / 0.5137 GB Notification: Performance of SimCode: time 8.51e-07/0.6282, allocations: 0 / 0.7318 GB, free: 81.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08019/0.7084, allocations: 33.57 MB / 0.7646 GB, free: 55.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/16.71, allocations: 12.59 kB / 0.7646 GB, free: 55.13 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)