Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.001297/0.001297, allocations: 174.7 kB / 15.42 MB, free: 6.145 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 239 MB, free: 1.801 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.0007665/0.0007667, allocations: 96.25 kB / 289.8 MB, free: 14.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4414/0.4414, allocations: 78.42 MB / 418.9 MB, free: 44.32 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 19.98 kB / 498.5 MB, free: 3.781 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3315, allocations: 68.74 MB / 0.554 GB, free: 39.67 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006054/0.3376, allocations: 6.819 MB / 0.5606 GB, free: 36.95 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003594/0.3412, allocations: 1.913 MB / 0.5625 GB, free: 36.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000896/0.3422, allocations: 13.84 kB / 0.5625 GB, free: 36.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005187/0.3427, allocations: 174.9 kB / 0.5627 GB, free: 36.1 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.3443, allocations: 0.6296 MB / 0.5633 GB, free: 35.8 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001235/0.3456, allocations: 0.5799 MB / 0.5639 GB, free: 35.67 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.3469, allocations: 1.358 MB / 0.5652 GB, free: 35.33 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004013/0.3473, allocations: 288.4 kB / 0.5655 GB, free: 35.26 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006561/0.348, allocations: 0.5176 MB / 0.566 GB, free: 35.1 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006894/0.3487, allocations: 0.6649 MB / 0.5666 GB, free: 34.89 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.3488, allocations: 56.28 kB / 0.5667 GB, free: 34.89 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004305/0.3493, allocations: 182.2 kB / 0.5668 GB, free: 34.88 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.3495, allocations: 223 kB / 0.5671 GB, free: 34.77 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003682/0.3498, allocations: 0.5673 MB / 0.5676 GB, free: 34.4 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009831/0.3508, allocations: 1.431 MB / 0.569 GB, free: 33.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.3508, allocations: 0 / 0.569 GB, free: 33.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3508, allocations: 0 / 0.569 GB, free: 33.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.3509, allocations: 0 / 0.569 GB, free: 33.84 MB / 426.7 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.006325/0.3572, allocations: 2.322 MB / 0.5713 GB, free: 32.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3573, allocations: 15.06 kB / 0.5713 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001852/0.3574, allocations: 128.6 kB / 0.5714 GB, free: 32.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004564/0.362, allocations: 0.7755 MB / 0.5722 GB, free: 32.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008928/0.3629, allocations: 0.771 MB / 0.5729 GB, free: 32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.3631, allocations: 252.5 kB / 0.5732 GB, free: 31.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.3633, allocations: 84.12 kB / 0.5732 GB, free: 31.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.3651, allocations: 1.082 MB / 0.5743 GB, free: 31.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.3652, allocations: 3.984 kB / 0.5743 GB, free: 31.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/0.3652, allocations: 32.62 kB / 0.5743 GB, free: 31.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.3653, allocations: 21.19 kB / 0.5744 GB, free: 31.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.3673, allocations: 1.126 MB / 0.5755 GB, free: 30.98 MB / 426.7 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.004533/0.3718, allocations: 3.467 MB / 0.5788 GB, free: 29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.3735, allocations: 1.428 MB / 0.5802 GB, free: 28.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.3748, allocations: 0.7902 MB / 0.581 GB, free: 27.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.3749, allocations: 16.78 kB / 0.581 GB, free: 27.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.3749, allocations: 51.84 kB / 0.5811 GB, free: 27.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 3.266e-06/0.3749, allocations: 0 / 0.5811 GB, free: 27.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02212/0.3971, allocations: 6.614 MB / 0.5875 GB, free: 26.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.3971, allocations: 61.34 kB / 0.5876 GB, free: 26.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000868/0.398, allocations: 0.8918 MB / 0.5885 GB, free: 26.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.74e-05/0.3981, allocations: 40.83 kB / 0.5885 GB, free: 25.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.3983, allocations: 498 kB / 0.589 GB, free: 25.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.3986, allocations: 352.1 kB / 0.5893 GB, free: 25.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.3987, allocations: 104.5 kB / 0.5894 GB, free: 25.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.888e-05/0.3988, allocations: 353.3 kB / 0.5897 GB, free: 24.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/0.4003, allocations: 0.7312 MB / 0.5905 GB, free: 24.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/0.4017, allocations: 0.857 MB / 0.5913 GB, free: 24.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01736/0.4191, allocations: 4.856 MB / 0.596 GB, free: 22.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.4192, allocations: 1.125 kB / 0.596 GB, free: 22.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0131/0.4323, allocations: 4.278 MB / 0.6002 GB, free: 21.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.4323, allocations: 5.844 kB / 0.6002 GB, free: 21.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.4323, allocations: 2.656 kB / 0.6002 GB, free: 21.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005832/0.4382, allocations: 1.725 MB / 0.6019 GB, free: 21.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.4393, allocations: 227 kB / 0.6021 GB, free: 21.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/0.4572, allocations: 8.341 MB / 0.6103 GB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.4587, allocations: 186.5 kB / 0.6105 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/0.4589, allocations: 39.48 kB / 0.6105 GB, free: 16.38 MB / 426.7 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.0005022/0.4594, allocations: 236.9 kB / 0.6107 GB, free: 16.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.4597, allocations: 120.2 kB / 0.6108 GB, free: 16.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/0.4711, allocations: 4.01 MB / 0.6147 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.4712, allocations: 11.98 kB / 0.6148 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4712, allocations: 0 / 0.6148 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.4712, allocations: 7.984 kB / 0.6148 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/0.4839, allocations: 5.61 MB / 0.6202 GB, free: 7.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.484, allocations: 4 kB / 0.6202 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/0.4846, allocations: 131.8 kB / 0.6204 GB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005066/0.4897, allocations: 1.737 MB / 0.6221 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.4898, allocations: 20.88 kB / 0.6221 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01528/0.5051, allocations: 7.342 MB / 0.6293 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5052, allocations: 0 / 0.6293 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/0.5197, allocations: 4.958 MB / 0.6341 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/0.5201, allocations: 203.4 kB / 0.6343 GB, free: 8.578 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/0.5204, allocations: 19.94 kB / 0.6343 GB, free: 8.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.5216, allocations: 107.9 kB / 0.6344 GB, free: 8.453 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007358/0.5223, allocations: 212.6 kB / 0.6346 GB, free: 8.242 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.725e-05/0.5224, allocations: 24 kB / 0.6346 GB, free: 8.219 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008271/0.5233, allocations: 0.5969 MB / 0.6352 GB, free: 7.613 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5233, allocations: 0 / 0.6352 GB, free: 7.613 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001516/0.5248, allocations: 435.5 kB / 0.6356 GB, free: 7.188 MB / 442.7 MB 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.01485/0.5396, allocations: 5.545 MB / 0.6411 GB, free: 1.605 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006764/0.5464, allocations: 2.431 MB / 0.6434 GB, free: 15.17 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.5465, allocations: 4.125 kB / 0.6434 GB, free: 15.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004662/0.5512, allocations: 1.544 MB / 0.6449 GB, free: 13.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.5523, allocations: 92.41 kB / 0.645 GB, free: 13.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03827/0.5906, allocations: 16.4 MB / 0.661 GB, free: 12.72 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009055/0.5915, allocations: 1.103 MB / 0.6621 GB, free: 11.59 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005901/0.5921, allocations: 90.75 kB / 0.6622 GB, free: 11.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007042/0.5928, allocations: 443.3 kB / 0.6626 GB, free: 11.06 MB / 474.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5929, allocations: 4 kB / 0.6626 GB, free: 11.06 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05165/0.6445, allocations: 29.94 MB / 0.6919 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.6448, allocations: 241.6 kB / 0.6921 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/3.413, allocations: 0 / 0.6921 GB, free: 13.07 MB / 0.4948 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)