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-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,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-master/package.mo): time 0.1053/0.1053, allocations: 12.6 MB / 28.1 MB, free: 0.8203 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.001427/0.001426, allocations: 111.5 kB / 31.7 MB, free: 3.949 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.367/1.367, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001425/0.001425, allocations: 183.5 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.435/0.435, allocations: 78.51 MB / 419.2 MB, free: 11.34 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.002865/0.002865, allocations: 132.9 kB / 499.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.291, allocations: 68.12 MB / 0.5547 GB, free: 32.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005722/0.2967, allocations: 5.835 MB / 0.5604 GB, free: 28.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.3, allocations: 1.708 MB / 0.562 GB, free: 27.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00046/0.3005, allocations: 8.656 kB / 0.5621 GB, free: 27.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.3009, allocations: 211.2 kB / 0.5623 GB, free: 26.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.3024, allocations: 0.6854 MB / 0.5629 GB, free: 26.3 MB / 398.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.001075/0.3034, allocations: 0.5678 MB / 0.5635 GB, free: 25.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.3045, allocations: 1.251 MB / 0.5647 GB, free: 25.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.3049, allocations: 267.5 kB / 0.565 GB, free: 25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.3054, allocations: 0.5323 MB / 0.5655 GB, free: 24.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005975/0.306, allocations: 0.6403 MB / 0.5661 GB, free: 24.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.3062, allocations: 86.84 kB / 0.5662 GB, free: 24.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004832/0.3067, allocations: 232.1 kB / 0.5664 GB, free: 24.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.3069, allocations: 239.8 kB / 0.5666 GB, free: 23.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.3072, allocations: 0.5461 MB / 0.5672 GB, free: 23.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.3083, allocations: 1.339 MB / 0.5685 GB, free: 22.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3083, allocations: 0 / 0.5685 GB, free: 22.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3084, allocations: 1.062 kB / 0.5685 GB, free: 22.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.3084, allocations: 0 / 0.5685 GB, free: 22.57 MB / 398.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.007788/0.3162, allocations: 2.347 MB / 0.5708 GB, free: 21.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.3163, allocations: 13.83 kB / 0.5708 GB, free: 21.11 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.3164, allocations: 116.7 kB / 0.5709 GB, free: 21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00497/0.3214, allocations: 0.7607 MB / 0.5716 GB, free: 20.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.3226, allocations: 0.7084 MB / 0.5723 GB, free: 20.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.3229, allocations: 254.9 kB / 0.5726 GB, free: 19.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.3231, allocations: 65.34 kB / 0.5726 GB, free: 19.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.325, allocations: 0.9633 MB / 0.5736 GB, free: 19.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.3251, allocations: 0 / 0.5736 GB, free: 19.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/0.3252, allocations: 26.12 kB / 0.5736 GB, free: 19.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.3252, allocations: 15.53 kB / 0.5736 GB, free: 19.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.3272, allocations: 0.9784 MB / 0.5746 GB, free: 18.81 MB / 398.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.004699/0.3319, allocations: 3.19 MB / 0.5777 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.3336, allocations: 1.31 MB / 0.579 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.3349, allocations: 0.7087 MB / 0.5797 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.512e-05/0.3349, allocations: 12.98 kB / 0.5797 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.335, allocations: 39.56 kB / 0.5797 GB, free: 13.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.725e-06/0.335, allocations: 0 / 0.5797 GB, free: 13.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.02446/0.3594, allocations: 6.477 MB / 0.586 GB, free: 6.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.3595, allocations: 64.34 kB / 0.5861 GB, free: 6.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00088/0.3604, allocations: 0.7907 MB / 0.5869 GB, free: 6.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.3606, allocations: 41.7 kB / 0.5869 GB, free: 6.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.3608, allocations: 436.3 kB / 0.5873 GB, free: 5.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.361, allocations: 299.7 kB / 0.5876 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003194/0.3614, allocations: 186.8 kB / 0.5878 GB, free: 5.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.3614, allocations: 345.9 kB / 0.5881 GB, free: 4.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.3628, allocations: 0.6584 MB / 0.5888 GB, free: 4.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.3641, allocations: 0.7835 MB / 0.5895 GB, free: 3.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01753/0.3816, allocations: 4.538 MB / 0.594 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.3817, allocations: 4 kB / 0.594 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01383/0.3955, allocations: 4.082 MB / 0.5979 GB, free: 10.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.3956, allocations: 8 kB / 0.598 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3956, allocations: 0 / 0.598 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006176/0.4018, allocations: 1.738 MB / 0.5997 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000962/0.4027, allocations: 195.6 kB / 0.5998 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02183/0.4246, allocations: 9.058 MB / 0.6087 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.4263, allocations: 155 kB / 0.6088 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.713e-05/0.4264, allocations: 35.98 kB / 0.6089 GB, free: 15.27 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.0004407/0.4268, allocations: 225.6 kB / 0.6091 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.427, allocations: 98.78 kB / 0.6092 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/0.4403, allocations: 3.817 MB / 0.6129 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.4404, allocations: 15.92 kB / 0.6129 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4404, allocations: 0 / 0.6129 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.4404, allocations: 3.984 kB / 0.6129 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.4561, allocations: 5.38 MB / 0.6182 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.4562, allocations: 0 / 0.6182 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.4567, allocations: 95.88 kB / 0.6183 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006408/0.4631, allocations: 1.745 MB / 0.62 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.4633, allocations: 19.94 kB / 0.62 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01987/0.4831, allocations: 8.064 MB / 0.6279 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.4832, allocations: 0 / 0.6279 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/0.4987, allocations: 4.731 MB / 0.6325 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/0.4991, allocations: 191.6 kB / 0.6327 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.4993, allocations: 16 kB / 0.6327 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.5004, allocations: 91.89 kB / 0.6328 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006282/0.501, allocations: 212.5 kB / 0.633 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.272e-05/0.5011, allocations: 16 kB / 0.633 GB, free: 6.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000691/0.5018, allocations: 0.538 MB / 0.6335 GB, free: 5.668 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5018, allocations: 4 kB / 0.6335 GB, free: 5.664 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001279/0.5031, allocations: 403.5 kB / 0.6339 GB, free: 5.27 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.0157/0.5188, allocations: 5.311 MB / 0.6391 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007268/0.5261, allocations: 2.328 MB / 0.6414 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.5262, allocations: 4 kB / 0.6414 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005009/0.5312, allocations: 1.508 MB / 0.6428 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008747/0.5321, allocations: 78.16 kB / 0.6429 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03745/0.5695, allocations: 14.61 MB / 0.6572 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.5702, allocations: 1.029 MB / 0.6582 GB, free: 11.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003055/0.5705, allocations: 78.31 kB / 0.6583 GB, free: 11.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004814/0.571, allocations: 379.3 kB / 0.6586 GB, free: 11.53 MB / 478.1 MB Notification: Performance of SimCode: time 7.71e-07/0.571, allocations: 0 / 0.6586 GB, free: 11.53 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06042/0.6314, allocations: 30.6 MB / 0.6885 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.99, allocations: 9.516 kB / 0.6885 GB, free: 12.98 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)