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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07673/0.07673, allocations: 12.6 MB / 28.85 MB, free: 280 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 115.4 kB / 32.46 MB, free: 3.414 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.356/1.356, allocations: 205.1 MB / 241 MB, free: 12.39 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.001318/0.001318, allocations: 195.3 kB / 291.3 MB, free: 13.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4305/0.4305, allocations: 78.52 MB / 419.9 MB, free: 11.27 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.002626/0.002626, allocations: 135.8 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2941, allocations: 68.11 MB / 0.556 GB, free: 33.13 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005845/0.3, allocations: 6.525 MB / 0.5624 GB, free: 28.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003266/0.3033, allocations: 1.837 MB / 0.5642 GB, free: 26.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000628/0.304, allocations: 13.97 kB / 0.5642 GB, free: 26.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004646/0.3045, allocations: 226.3 kB / 0.5644 GB, free: 26.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.3059, allocations: 0.7114 MB / 0.5651 GB, free: 25.94 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.001155/0.3071, allocations: 0.6164 MB / 0.5657 GB, free: 25.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.3083, allocations: 1.437 MB / 0.5671 GB, free: 24.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/0.3088, allocations: 321.8 kB / 0.5674 GB, free: 24.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006198/0.3094, allocations: 0.5964 MB / 0.568 GB, free: 24.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006069/0.31, allocations: 0.7309 MB / 0.5687 GB, free: 23.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.3102, allocations: 101 kB / 0.5688 GB, free: 23.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.3106, allocations: 237.9 kB / 0.569 GB, free: 23.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.3108, allocations: 284.1 kB / 0.5693 GB, free: 23.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003872/0.3112, allocations: 0.6206 MB / 0.5699 GB, free: 22.78 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.3124, allocations: 1.531 MB / 0.5714 GB, free: 21.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3124, allocations: 0 / 0.5714 GB, free: 21.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3124, allocations: 0 / 0.5714 GB, free: 21.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.3124, allocations: 0.8438 kB / 0.5714 GB, free: 21.65 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007927/0.3204, allocations: 2.553 MB / 0.5739 GB, free: 20.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.3205, allocations: 16.55 kB / 0.5739 GB, free: 20.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005227/0.3257, allocations: 0.7789 MB / 0.5747 GB, free: 19.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.3271, allocations: 0.7728 MB / 0.5754 GB, free: 19.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/0.3274, allocations: 256.7 kB / 0.5757 GB, free: 18.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001686/0.3275, allocations: 78.94 kB / 0.5757 GB, free: 18.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.3297, allocations: 1.081 MB / 0.5768 GB, free: 17.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.3298, allocations: 7.938 kB / 0.5768 GB, free: 17.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.451e-05/0.3299, allocations: 28 kB / 0.5768 GB, free: 17.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.3299, allocations: 20 kB / 0.5768 GB, free: 17.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.332, allocations: 1.12 MB / 0.5779 GB, free: 16.71 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.005007/0.337, allocations: 3.452 MB / 0.5813 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.3388, allocations: 1.43 MB / 0.5827 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.3401, allocations: 0.7852 MB / 0.5835 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.3402, allocations: 16.98 kB / 0.5835 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.3403, allocations: 47.56 kB / 0.5835 GB, free: 10.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 2.224e-06/0.3403, allocations: 0 / 0.5835 GB, free: 10.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.02182/0.3621, allocations: 6.613 MB / 0.59 GB, free: 4.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.3622, allocations: 60.41 kB / 0.59 GB, free: 3.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.3632, allocations: 0.8884 MB / 0.5909 GB, free: 3.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.3634, allocations: 45.7 kB / 0.591 GB, free: 3.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.3636, allocations: 0.4927 MB / 0.5914 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.3639, allocations: 343.1 kB / 0.5918 GB, free: 2.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.3642, allocations: 210.8 kB / 0.592 GB, free: 1.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.3643, allocations: 353.9 kB / 0.5923 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.3657, allocations: 0.7287 MB / 0.593 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.3672, allocations: 0.858 MB / 0.5939 GB, free: 0 / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01912/0.3864, allocations: 4.846 MB / 0.5986 GB, free: 11.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.3864, allocations: 3.938 kB / 0.5986 GB, free: 11.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01356/0.4, allocations: 4.285 MB / 0.6028 GB, free: 6.812 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.4001, allocations: 8 kB / 0.6028 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.4001, allocations: 7.922 kB / 0.6028 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005808/0.4059, allocations: 1.73 MB / 0.6045 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.4072, allocations: 227.7 kB / 0.6047 GB, free: 4.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/0.4275, allocations: 9.045 MB / 0.6135 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.429, allocations: 182.9 kB / 0.6137 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.4291, allocations: 39.98 kB / 0.6137 GB, free: 11.43 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.0004369/0.4296, allocations: 239.2 kB / 0.614 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.4298, allocations: 122.4 kB / 0.6141 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/0.442, allocations: 4.018 MB / 0.618 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.4421, allocations: 12 kB / 0.618 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4421, allocations: 0 / 0.618 GB, free: 7.016 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.4421, allocations: 3.984 kB / 0.618 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.4562, allocations: 5.602 MB / 0.6235 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.4562, allocations: 0 / 0.6235 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00069/0.4569, allocations: 135.8 kB / 0.6236 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005608/0.4625, allocations: 1.738 MB / 0.6253 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.4626, allocations: 20 kB / 0.6253 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/0.4811, allocations: 8.06 MB / 0.6332 GB, free: 7.172 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.4812, allocations: 4 kB / 0.6332 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/0.4959, allocations: 4.952 MB / 0.6381 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/0.4964, allocations: 203.4 kB / 0.6383 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.4967, allocations: 20 kB / 0.6383 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.4979, allocations: 111.9 kB / 0.6384 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000737/0.4986, allocations: 216.6 kB / 0.6386 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.876e-05/0.4987, allocations: 27.98 kB / 0.6386 GB, free: 1.609 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008556/0.4996, allocations: 0.5969 MB / 0.6392 GB, free: 1.004 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4996, allocations: 0 / 0.6392 GB, free: 1.004 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001412/0.501, allocations: 439.4 kB / 0.6396 GB, free: 0.5742 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.0003048/0.5013, allocations: 135 kB / 0.6397 GB, free: 440 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006724/0.5081, allocations: 2.475 MB / 0.6422 GB, free: 13.94 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.5081, allocations: 0 / 0.6422 GB, free: 13.94 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004657/0.5128, allocations: 1.612 MB / 0.6437 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009354/0.5137, allocations: 92.36 kB / 0.6438 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.5178, allocations: 2.041 MB / 0.6458 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/0.5186, allocations: 1.103 MB / 0.6469 GB, free: 9.031 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003936/0.519, allocations: 90.75 kB / 0.647 GB, free: 8.938 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.5192, allocations: 67.42 kB / 0.647 GB, free: 8.871 MB / 462.1 MB Notification: Performance of SimCode: time 6.02e-07/0.5192, allocations: 0 / 0.647 GB, free: 8.871 MB / 462.1 MB Notification: Performance of Templates: time 0.03854/0.5578, allocations: 23.42 MB / 0.6699 GB, free: 1.457 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)