Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1117/0.1117, allocations: 12.2 MB / 27.47 MB, free: 0.9219 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.0009298/0.0009298, allocations: 99.52 kB / 31 MB, free: 4.531 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.312/1.312, allocations: 205.4 MB / 239.8 MB, free: 11.46 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.001264/0.001264, allocations: 168.6 kB / 291 MB, free: 15.69 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4289/0.4289, allocations: 78.53 MB / 420.5 MB, free: 32.52 MB / 318.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.000852/0.000852, allocations: 24 kB / 0.4902 GB, free: 15.39 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3057, allocations: 69.23 MB / 0.5578 GB, free: 37.85 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.003893/0.3096, allocations: 5.746 MB / 0.5634 GB, free: 33.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.3119, allocations: 1.743 MB / 0.5651 GB, free: 32.29 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003023/0.3122, allocations: 12.69 kB / 0.5651 GB, free: 32.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.3125, allocations: 164.5 kB / 0.5653 GB, free: 32.22 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.3137, allocations: 0.6019 MB / 0.5659 GB, free: 31.82 MB / 414.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.0008148/0.3145, allocations: 0.5355 MB / 0.5664 GB, free: 31.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008066/0.3153, allocations: 1.19 MB / 0.5676 GB, free: 30.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.3156, allocations: 240.2 kB / 0.5678 GB, free: 30.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003832/0.316, allocations: 477.8 kB / 0.5682 GB, free: 30.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004323/0.3164, allocations: 0.5921 MB / 0.5688 GB, free: 30.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.276e-05/0.3165, allocations: 45.97 kB / 0.5689 GB, free: 30.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.3168, allocations: 177.2 kB / 0.569 GB, free: 30.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.317, allocations: 198.6 kB / 0.5692 GB, free: 30.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.3172, allocations: 0.5248 MB / 0.5697 GB, free: 29.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007624/0.318, allocations: 1.279 MB / 0.571 GB, free: 29.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.318, allocations: 0 / 0.571 GB, free: 29.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.318, allocations: 0 / 0.571 GB, free: 29.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.689e-06/0.318, allocations: 0 / 0.571 GB, free: 29.31 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006266/0.3243, allocations: 2.191 MB / 0.5731 GB, free: 28.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3244, allocations: 14.83 kB / 0.5731 GB, free: 28.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.3245, allocations: 115.2 kB / 0.5732 GB, free: 28.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004519/0.329, allocations: 0.7614 MB / 0.574 GB, free: 28.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007262/0.3298, allocations: 0.7039 MB / 0.5747 GB, free: 27.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.33, allocations: 263.3 kB / 0.5749 GB, free: 27.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.3301, allocations: 67.91 kB / 0.575 GB, free: 27.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.3319, allocations: 1.041 MB / 0.576 GB, free: 27.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.332, allocations: 0 / 0.576 GB, free: 27.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/0.3321, allocations: 25.22 kB / 0.576 GB, free: 27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.3321, allocations: 17.03 kB / 0.576 GB, free: 27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.334, allocations: 1.064 MB / 0.5771 GB, free: 26.67 MB / 414.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.004871/0.3389, allocations: 3.244 MB / 0.5803 GB, free: 24.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.3408, allocations: 1.384 MB / 0.5816 GB, free: 23.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.3423, allocations: 0.783 MB / 0.5824 GB, free: 23.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.573e-05/0.3424, allocations: 24.3 kB / 0.5824 GB, free: 23.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.3424, allocations: 42.69 kB / 0.5824 GB, free: 23.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.705e-06/0.3424, allocations: 3.938 kB / 0.5824 GB, free: 23.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=83): time 0.0277/0.3701, allocations: 8.05 MB / 0.5903 GB, free: 21.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.3702, allocations: 68.92 kB / 0.5904 GB, free: 21.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009273/0.3711, allocations: 0.7895 MB / 0.5911 GB, free: 21.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.602e-05/0.3712, allocations: 45.58 kB / 0.5912 GB, free: 21.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.3715, allocations: 433.3 kB / 0.5916 GB, free: 20.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.3717, allocations: 298.4 kB / 0.5919 GB, free: 20.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.3718, allocations: 96.06 kB / 0.592 GB, free: 20.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.3719, allocations: 346.6 kB / 0.5923 GB, free: 20.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.3733, allocations: 0.738 MB / 0.593 GB, free: 19.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.3748, allocations: 0.8591 MB / 0.5939 GB, free: 19.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01696/0.3918, allocations: 5.014 MB / 0.5988 GB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.3918, allocations: 0 / 0.5988 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01297/0.4048, allocations: 4.998 MB / 0.6036 GB, free: 10.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.4049, allocations: 8 kB / 0.6036 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4049, allocations: 0 / 0.6036 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005812/0.4107, allocations: 2.052 MB / 0.6056 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008075/0.4115, allocations: 187.7 kB / 0.6058 GB, free: 8.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01946/0.431, allocations: 9.321 MB / 0.6149 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.4325, allocations: 191.1 kB / 0.6151 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.4327, allocations: 39.98 kB / 0.6151 GB, free: 14.36 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 (101): * Single equations (assignments): 100 * 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.0005845/0.4332, allocations: 233.2 kB / 0.6154 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.4336, allocations: 106.7 kB / 0.6155 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01427/0.4478, allocations: 4.719 MB / 0.6201 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.4479, allocations: 8 kB / 0.6201 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.4479, allocations: 3.984 kB / 0.6201 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.4479, allocations: 7.922 kB / 0.6201 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.4638, allocations: 6.294 MB / 0.6262 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4639, allocations: 0 / 0.6262 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/0.4644, allocations: 103.9 kB / 0.6263 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006232/0.4706, allocations: 2.05 MB / 0.6283 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.344e-05/0.4707, allocations: 16 kB / 0.6284 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/0.4896, allocations: 8.201 MB / 0.6364 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4896, allocations: 3.984 kB / 0.6364 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/0.5055, allocations: 5.727 MB / 0.642 GB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.5059, allocations: 187.6 kB / 0.6421 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.5061, allocations: 19.98 kB / 0.6422 GB, free: 2.344 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.5071, allocations: 127.9 kB / 0.6423 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005702/0.5077, allocations: 200.6 kB / 0.6425 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/0.5078, allocations: 16 kB / 0.6425 GB, free: 2.008 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006702/0.5085, allocations: 0.5342 MB / 0.643 GB, free: 1.477 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5085, allocations: 0 / 0.643 GB, free: 1.477 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001172/0.5096, allocations: 407.5 kB / 0.6434 GB, free: 1.078 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 (50): * Single equations (assignments): 49 * 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.01619/0.5258, allocations: 6.292 MB / 0.6496 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006584/0.5324, allocations: 2.572 MB / 0.6521 GB, free: 8.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5325, allocations: 0 / 0.6521 GB, free: 8.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004861/0.5373, allocations: 1.709 MB / 0.6537 GB, free: 6.438 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007973/0.5381, allocations: 80.69 kB / 0.6538 GB, free: 6.359 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03844/0.5766, allocations: 16.91 MB / 0.6703 GB, free: 5.109 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.5772, allocations: 1.025 MB / 0.6713 GB, free: 4.055 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002928/0.5775, allocations: 82.31 kB / 0.6714 GB, free: 3.973 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.5779, allocations: 375.3 kB / 0.6718 GB, free: 3.605 MB / 478.1 MB Notification: Performance of SimCode: time 6.61e-07/0.578, allocations: 0 / 0.6718 GB, free: 3.605 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04387/0.6218, allocations: 27.65 MB / 0.6988 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.622, allocations: 212 kB / 0.699 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/2.955, allocations: 0 / 0.699 GB, free: 7.785 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)