Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.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.SynchronousMachine4WindingsNoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad") translateModel(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 105 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.001301/0.001301, allocations: 184.9 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.295/1.295, 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.06324/0.06324, allocations: 14.17 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.001382/0.001382, allocations: 75.91 kB / 346.5 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1983, allocations: 50.12 MB / 396.6 MB, free: 47.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad): time 0.004692/0.203, allocations: 5.489 MB / 402.1 MB, free: 43.42 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003748/0.2068, allocations: 2.966 MB / 405.1 MB, free: 41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003981/0.2072, allocations: 6.969 kB / 405.1 MB, free: 41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000727/0.208, allocations: 266.5 kB / 405.3 MB, free: 40.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.2103, allocations: 1.206 MB / 406.6 MB, free: 39.85 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/0.2111, allocations: 483.2 kB / 407 MB, free: 39.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001351/0.2125, allocations: 1.411 MB / 408.4 MB, free: 38.6 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.2127, allocations: 91.25 kB / 408.5 MB, free: 38.56 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005452/0.2132, allocations: 497.2 kB / 409 MB, free: 38.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005051/0.2137, allocations: 0.5469 MB / 409.6 MB, free: 37.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.2139, allocations: 77.06 kB / 409.6 MB, free: 37.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006521/0.2145, allocations: 323.6 kB / 409.9 MB, free: 37.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2146, allocations: 182.1 kB / 410.1 MB, free: 37.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003165/0.215, allocations: 459 kB / 410.6 MB, free: 37.3 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000965/0.2159, allocations: 1.158 MB / 411.7 MB, free: 36.49 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.216, allocations: 4 kB / 411.7 MB, free: 36.49 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.216, allocations: 5.031 kB / 411.7 MB, free: 36.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.216, allocations: 0 / 411.7 MB, free: 36.48 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.003403/0.2194, allocations: 1.385 MB / 413.1 MB, free: 35.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2194, allocations: 8.031 kB / 413.1 MB, free: 35.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003596/0.2198, allocations: 100.1 kB / 413.2 MB, free: 35.01 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008369/0.2206, allocations: 0.5636 MB / 413.8 MB, free: 34.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.2207, allocations: 45.38 kB / 413.8 MB, free: 34.36 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.938e-05/0.2208, allocations: 64.12 kB / 413.9 MB, free: 34.3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006957/0.2215, allocations: 482 kB / 414.4 MB, free: 33.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2215, allocations: 0 / 414.4 MB, free: 33.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.2216, allocations: 20 kB / 414.4 MB, free: 33.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2216, allocations: 8 kB / 414.4 MB, free: 33.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007035/0.2223, allocations: 491.7 kB / 414.9 MB, free: 33.31 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.004324/0.2266, allocations: 3.287 MB / 418.2 MB, free: 29.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.2277, allocations: 0.7787 MB / 418.9 MB, free: 28.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.2281, allocations: 234.5 kB / 419.2 MB, free: 28.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.2281, allocations: 12.55 kB / 419.2 MB, free: 28.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.456e-05/0.2281, allocations: 39.12 kB / 419.2 MB, free: 28.55 MB / 318.1 MB Notification: Performance of pre-optimization done (n=62): time 2.124e-06/0.2282, allocations: 4 kB / 419.2 MB, free: 28.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004707/0.2329, allocations: 2.031 MB / 421.3 MB, free: 26.44 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.2329, allocations: 67.91 kB / 421.3 MB, free: 26.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.2334, allocations: 0.53 MB / 421.9 MB, free: 25.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.2334, allocations: 41.7 kB / 421.9 MB, free: 25.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.2336, allocations: 265 kB / 422.2 MB, free: 25.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.2337, allocations: 228.7 kB / 422.4 MB, free: 25.28 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.2339, allocations: 186.5 kB / 422.6 MB, free: 25.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.093e-05/0.234, allocations: 366.8 kB / 422.9 MB, free: 24.72 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.2344, allocations: 321.9 kB / 423.2 MB, free: 24.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/0.2349, allocations: 405.4 kB / 423.6 MB, free: 24.01 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008157/0.2358, allocations: 0.6396 MB / 424.3 MB, free: 23.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2358, allocations: 4 kB / 424.3 MB, free: 23.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002708/0.2385, allocations: 1.283 MB / 425.6 MB, free: 22.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2385, allocations: 4 kB / 425.6 MB, free: 22.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2385, allocations: 0 / 425.6 MB, free: 22.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/0.2409, allocations: 0.6145 MB / 426.2 MB, free: 21.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008826/0.2418, allocations: 215.8 kB / 426.4 MB, free: 21.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008164/0.25, allocations: 11.5 MB / 437.9 MB, free: 8.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008341/0.2508, allocations: 27.98 kB / 437.9 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/0.2509, allocations: 35.98 kB / 437.9 MB, free: 8.652 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.000245/0.2511, allocations: 196.5 kB / 438.1 MB, free: 8.453 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2513, allocations: 67.19 kB / 438.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.2527, allocations: 0.7752 MB / 439 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.2527, allocations: 4 kB / 439 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2527, allocations: 4 kB / 439 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.2527, allocations: 7.922 kB / 439 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.2548, allocations: 1.615 MB / 440.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.2548, allocations: 0 / 440.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006059/0.2554, allocations: 135.8 kB / 440.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008238/0.2563, allocations: 251.2 kB / 441 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.2563, allocations: 12 kB / 441 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/0.2592, allocations: 2.605 MB / 443.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2592, allocations: 4 kB / 443.6 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/0.2737, allocations: 8.568 MB / 452.2 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002982/0.2741, allocations: 192.3 kB / 452.4 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.923e-05/0.2742, allocations: 15.94 kB / 452.4 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/0.2747, allocations: 16 kB / 452.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.2748, allocations: 48.48 kB / 452.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.2749, allocations: 16 kB / 452.5 MB, free: 9.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004344/0.2753, allocations: 362.8 kB / 452.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2753, allocations: 0 / 452.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001146/0.2765, allocations: 368 kB / 453.2 MB, free: 8.852 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.0002465/0.2767, allocations: 163.1 kB / 453.3 MB, free: 8.68 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.002748/0.2795, allocations: 1.69 MB / 455 MB, free: 6.898 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2795, allocations: 0 / 455 MB, free: 6.898 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.001012/0.2805, allocations: 0.5248 MB / 455.5 MB, free: 6.359 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006583/0.2812, allocations: 110.2 kB / 455.7 MB, free: 6.258 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.003323/0.2845, allocations: 2.085 MB / 457.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/0.285, allocations: 0.9194 MB / 458.7 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.2852, allocations: 55.42 kB / 458.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2852, allocations: 0 / 458.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of Templates: time 0.02114/0.3063, allocations: 20.58 MB / 479.3 MB, free: 14.52 MB / 366.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.SynchronousMachine4WindingsNoLoad.pipe 2>&1)