Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.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/Complex 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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: translateModel(PowerGrids.Electrical.Test.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4Windings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 103.5 kB / 16.97 MB, free: 6.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 186.3 kB / 17.89 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.1 MB / 223.8 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0625/0.0625, allocations: 14.18 MB / 285.3 MB, free: 13.92 MB / 238.1 MB 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: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 64.47 kB / 346.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2045, allocations: 50.13 MB / 396.6 MB, free: 47.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4Windings): time 0.004952/0.2095, allocations: 5.486 MB / 402.1 MB, free: 43.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003928/0.2134, allocations: 2.965 MB / 405.1 MB, free: 41.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000428/0.2139, allocations: 6.781 kB / 405.1 MB, free: 41.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006589/0.2146, allocations: 270.6 kB / 405.3 MB, free: 40.83 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002302/0.2169, allocations: 1.217 MB / 406.6 MB, free: 39.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007442/0.2177, allocations: 473.8 kB / 407 MB, free: 39.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.2189, allocations: 1.416 MB / 408.4 MB, free: 38.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.2192, allocations: 82.28 kB / 408.5 MB, free: 38.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005951/0.2198, allocations: 0.4957 MB / 409 MB, free: 38.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006234/0.2204, allocations: 0.5377 MB / 409.6 MB, free: 37.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.2205, allocations: 77.22 kB / 409.6 MB, free: 37.92 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006857/0.2212, allocations: 320.6 kB / 409.9 MB, free: 37.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.2213, allocations: 182.4 kB / 410.1 MB, free: 37.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003427/0.2217, allocations: 458.8 kB / 410.6 MB, free: 37.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.2227, allocations: 1.145 MB / 411.7 MB, free: 36.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2227, allocations: 5.125 kB / 411.7 MB, free: 36.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2227, allocations: 0 / 411.7 MB, free: 36.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.2227, allocations: 0 / 411.7 MB, free: 36.54 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003224/0.226, allocations: 1.385 MB / 413.1 MB, free: 35.13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.226, allocations: 12.03 kB / 413.1 MB, free: 35.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003527/0.2264, allocations: 100.1 kB / 413.2 MB, free: 35.02 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007284/0.2271, allocations: 0.5518 MB / 413.8 MB, free: 34.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.2271, allocations: 45.38 kB / 413.8 MB, free: 34.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-05/0.2272, allocations: 64.12 kB / 413.9 MB, free: 34.33 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006376/0.2279, allocations: 482.1 kB / 414.3 MB, free: 33.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.2279, allocations: 3.984 kB / 414.3 MB, free: 33.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.228, allocations: 16 kB / 414.4 MB, free: 33.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.228, allocations: 12 kB / 414.4 MB, free: 33.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007442/0.2287, allocations: 495.7 kB / 414.9 MB, free: 33.33 MB / 318.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.004259/0.233, allocations: 3.07 MB / 417.9 MB, free: 29.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.2341, allocations: 0.7767 MB / 418.7 MB, free: 29.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.2344, allocations: 230.5 kB / 418.9 MB, free: 28.89 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.631e-05/0.2345, allocations: 16.55 kB / 418.9 MB, free: 28.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.2345, allocations: 43.06 kB / 419 MB, free: 28.83 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 1.994e-06/0.2345, allocations: 0 / 419 MB, free: 28.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004666/0.2392, allocations: 2.031 MB / 421 MB, free: 26.72 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.2392, allocations: 63.95 kB / 421.1 MB, free: 26.65 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/0.2397, allocations: 0.5261 MB / 421.6 MB, free: 26.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.2398, allocations: 41.7 kB / 421.6 MB, free: 26.06 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.2399, allocations: 265.1 kB / 421.9 MB, free: 25.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.2401, allocations: 220.7 kB / 422.1 MB, free: 25.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.2403, allocations: 182.5 kB / 422.3 MB, free: 25.39 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.2404, allocations: 378.8 kB / 422.7 MB, free: 25.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/0.2409, allocations: 317.8 kB / 423 MB, free: 24.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.2414, allocations: 409.3 kB / 423.4 MB, free: 24.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008286/0.2422, allocations: 0.6358 MB / 424 MB, free: 23.65 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2423, allocations: 0 / 424 MB, free: 23.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002763/0.245, allocations: 1.283 MB / 425.3 MB, free: 22.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.2451, allocations: 4 kB / 425.3 MB, free: 22.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2451, allocations: 0 / 425.3 MB, free: 22.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002426/0.2475, allocations: 0.6301 MB / 425.9 MB, free: 21.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008718/0.2484, allocations: 215.7 kB / 426.1 MB, free: 21.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008242/0.2566, allocations: 11.5 MB / 437.6 MB, free: 9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007215/0.2574, allocations: 28 kB / 437.7 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.2575, allocations: 31.98 kB / 437.7 MB, free: 8.941 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,12), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000235/0.2577, allocations: 200.4 kB / 437.9 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.2578, allocations: 67.19 kB / 438 MB, free: 8.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.2592, allocations: 0.7752 MB / 438.7 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2592, allocations: 4 kB / 438.7 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2592, allocations: 4 kB / 438.8 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.2593, allocations: 7.922 kB / 438.8 MB, free: 7.863 MB / 318.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 postOpt removeSimpleEquations (simulation): time 0.002009/0.2613, allocations: 1.611 MB / 440.4 MB, free: 6.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2613, allocations: 0 / 440.4 MB, free: 6.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006241/0.2619, allocations: 139.8 kB / 440.5 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007923/0.2627, allocations: 244.6 kB / 440.7 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.2628, allocations: 12 kB / 440.8 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/0.2656, allocations: 2.611 MB / 443.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2657, allocations: 0 / 443.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/0.2794, allocations: 8.562 MB / 451.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.2797, allocations: 200.2 kB / 452.1 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.501e-05/0.2798, allocations: 15.94 kB / 452.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/0.2803, allocations: 16 kB / 452.2 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.2804, allocations: 48.48 kB / 452.2 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.2805, allocations: 16 kB / 452.2 MB, free: 9.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004081/0.2809, allocations: 354.9 kB / 452.6 MB, free: 9.504 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2809, allocations: 0 / 452.6 MB, free: 9.504 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001114/0.282, allocations: 372 kB / 452.9 MB, free: 9.141 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (machine.theta,machine.omegaPu,machine.lambdaDPu,machine.lambdafPu,machine.lambdaQ1Pu,machine.lambdaQ2Pu) * 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 (48): * Single equations (assignments): 47 * 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): 1 system {(6,12,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002807/0.2823, allocations: 151.2 kB / 453.1 MB, free: 8.98 MB / 334.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.00291/0.2852, allocations: 1.698 MB / 454.8 MB, free: 7.191 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2853, allocations: 3.938 kB / 454.8 MB, free: 7.188 MB / 334.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.0009636/0.2862, allocations: 0.5248 MB / 455.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007197/0.287, allocations: 109.3 kB / 455.4 MB, free: 6.547 MB / 334.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.2904, allocations: 2.068 MB / 457.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.2909, allocations: 0.9233 MB / 458.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.2911, allocations: 51.44 kB / 458.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2911, allocations: 0 / 458.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of Templates: time 0.02179/0.3129, allocations: 20.56 MB / 479 MB, free: 14.84 MB / 366.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4Windings.pipe 2>&1)