Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 238.8 MB, free: 4.75 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 188.5 kB / 289.1 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4585/0.4585, allocations: 78.52 MB / 417.8 MB, free: 3.332 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 79.88 kB / 496.9 MB, free: 6.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1398, allocations: 68.16 MB / 0.5518 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.2661/0.406, allocations: 6.814 MB / 0.5584 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004528/0.4105, allocations: 1.92 MB / 0.5603 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.4119, allocations: 15.28 kB / 0.5603 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007444/0.4127, allocations: 171.4 kB / 0.5605 GB, free: 35.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.4152, allocations: 0.6367 MB / 0.5611 GB, free: 35.23 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001355/0.4166, allocations: 0.5729 MB / 0.5617 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00181/0.4184, allocations: 1.356 MB / 0.563 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004792/0.4189, allocations: 291.3 kB / 0.5633 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008967/0.4198, allocations: 0.548 MB / 0.5638 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007076/0.4205, allocations: 0.6934 MB / 0.5645 GB, free: 34.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.4206, allocations: 66.41 kB / 0.5646 GB, free: 34.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005247/0.4212, allocations: 199.5 kB / 0.5647 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002211/0.4214, allocations: 246.8 kB / 0.565 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005256/0.4219, allocations: 0.598 MB / 0.5656 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.4232, allocations: 1.456 MB / 0.567 GB, free: 34.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.4233, allocations: 0 / 0.567 GB, free: 34.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4233, allocations: 0.5625 kB / 0.567 GB, free: 34.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.4233, allocations: 0 / 0.567 GB, free: 34.04 MB / 430.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.0078/0.4311, allocations: 2.56 MB / 0.5695 GB, free: 33.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.4312, allocations: 12.66 kB / 0.5695 GB, free: 33.13 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001714/0.4313, allocations: 127.7 kB / 0.5696 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00472/0.4361, allocations: 0.7788 MB / 0.5704 GB, free: 33.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.4374, allocations: 0.7703 MB / 0.5711 GB, free: 32.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002641/0.4377, allocations: 260.5 kB / 0.5714 GB, free: 32.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.4378, allocations: 79.75 kB / 0.5715 GB, free: 32.4 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.4401, allocations: 1.086 MB / 0.5725 GB, free: 32.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.4401, allocations: 0 / 0.5725 GB, free: 32.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.385e-05/0.4402, allocations: 37.27 kB / 0.5726 GB, free: 32.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.4402, allocations: 18.38 kB / 0.5726 GB, free: 32.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.4425, allocations: 1.122 MB / 0.5737 GB, free: 32.31 MB / 430.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.00544/0.4479, allocations: 3.465 MB / 0.577 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.4498, allocations: 1.429 MB / 0.5784 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.4512, allocations: 0.7894 MB / 0.5792 GB, free: 30.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.4513, allocations: 17.42 kB / 0.5792 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.4513, allocations: 41.97 kB / 0.5793 GB, free: 30.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.206e-06/0.4514, allocations: 2.469 kB / 0.5793 GB, free: 30.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02506/0.4764, allocations: 6.61 MB / 0.5857 GB, free: 28.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.4766, allocations: 65.84 kB / 0.5858 GB, free: 28.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/0.4784, allocations: 0.8839 MB / 0.5867 GB, free: 28.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002974/0.4788, allocations: 45.48 kB / 0.5867 GB, free: 28.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.4792, allocations: 498 kB / 0.5872 GB, free: 27.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004059/0.4796, allocations: 351.4 kB / 0.5875 GB, free: 27.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005101/0.4801, allocations: 203.8 kB / 0.5877 GB, free: 27.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4802, allocations: 360 kB / 0.588 GB, free: 27.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.4821, allocations: 0.7299 MB / 0.5888 GB, free: 26.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.484, allocations: 0.8615 MB / 0.5896 GB, free: 26.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02085/0.5049, allocations: 4.853 MB / 0.5943 GB, free: 25.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.505, allocations: 1.375 kB / 0.5943 GB, free: 25.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01456/0.5195, allocations: 4.278 MB / 0.5985 GB, free: 24.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.5196, allocations: 6.375 kB / 0.5985 GB, free: 24.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.5196, allocations: 2.344 kB / 0.5985 GB, free: 24.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00647/0.5261, allocations: 1.729 MB / 0.6002 GB, free: 23.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.5276, allocations: 228.8 kB / 0.6004 GB, free: 23.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02109/0.5487, allocations: 8.339 MB / 0.6086 GB, free: 19.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.5505, allocations: 179.6 kB / 0.6087 GB, free: 19.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.5506, allocations: 48.8 kB / 0.6088 GB, free: 19.57 MB / 430.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.0005564/0.5512, allocations: 236.4 kB / 0.609 GB, free: 19.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.5514, allocations: 120.5 kB / 0.6091 GB, free: 19.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/0.5637, allocations: 4.017 MB / 0.6131 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.5637, allocations: 8 kB / 0.6131 GB, free: 16.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5637, allocations: 0 / 0.6131 GB, free: 16.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.7e-05/0.5638, allocations: 3.984 kB / 0.6131 GB, free: 16.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.5772, allocations: 5.611 MB / 0.6185 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.5773, allocations: 0 / 0.6185 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008043/0.5781, allocations: 135.8 kB / 0.6187 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005226/0.5833, allocations: 1.732 MB / 0.6204 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/0.5836, allocations: 27.98 kB / 0.6204 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01485/0.5985, allocations: 7.338 MB / 0.6276 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5985, allocations: 0 / 0.6276 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/0.6134, allocations: 4.954 MB / 0.6324 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000473/0.6139, allocations: 203.4 kB / 0.6326 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.6141, allocations: 21.34 kB / 0.6326 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.6152, allocations: 107.9 kB / 0.6327 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007617/0.6159, allocations: 217.2 kB / 0.6329 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.535e-05/0.616, allocations: 27.98 kB / 0.633 GB, free: 11.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008019/0.6168, allocations: 0.5891 MB / 0.6335 GB, free: 11.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6168, allocations: 4 kB / 0.6335 GB, free: 11.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001474/0.6183, allocations: 443.4 kB / 0.634 GB, free: 10.74 MB / 446.1 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.01556/0.6339, allocations: 5.534 MB / 0.6394 GB, free: 5.176 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007105/0.6411, allocations: 2.437 MB / 0.6417 GB, free: 2.734 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.6411, allocations: 0 / 0.6417 GB, free: 2.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004948/0.6461, allocations: 1.564 MB / 0.6433 GB, free: 1.156 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.6473, allocations: 86.52 kB / 0.6433 GB, free: 1.074 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04015/0.6875, allocations: 16.39 MB / 0.6594 GB, free: 320 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007698/0.6883, allocations: 1.099 MB / 0.6604 GB, free: 15.19 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005298/0.6888, allocations: 95.12 kB / 0.6605 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00061/0.6894, allocations: 445.2 kB / 0.6609 GB, free: 14.66 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6894, allocations: 0 / 0.6609 GB, free: 14.66 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05447/0.7439, allocations: 30.52 MB / 0.6908 GB, free: 0.5 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.7442, allocations: 229.3 kB / 0.691 GB, free: 248 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.948/3.692, allocations: 3.719 kB / 0.691 GB, free: 248 kB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)